Max Life Lowering
Hey all,
I was making a script and I was able to lower all the stats except for the maxlife stats. I don't know what I'm doing wrong, but the mex health bar won't lower. But when you die, you won't see the last 80% of the bar decrease, only the first 20%. This is the script part as it is now:
&lifemax -= 50;
draw_status();
I hope someone can help me.
Regards, Sjoerdje
I was making a script and I was able to lower all the stats except for the maxlife stats. I don't know what I'm doing wrong, but the mex health bar won't lower. But when you die, you won't see the last 80% of the bar decrease, only the first 20%. This is the script part as it is now:
&lifemax -= 50;
draw_status();
I hope someone can help me.
Regards, Sjoerdje
put
if (&life > &lifemax)
&life = &lifemax;
straight after &lifemax -= 50;
if (&life > &lifemax)
&life = &lifemax;
straight after &lifemax -= 50;