The Dink Network

Max Life Lowering

August 26th 2004, 04:17 AM
pig.gif
sjoerdje
Peasant He/Him Netherlands
Lava pig to the rescue! 
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
August 26th 2004, 04:31 AM
spike.gif
put
if (&life > &lifemax)
&life = &lifemax;
straight after &lifemax -= 50;
August 26th 2004, 04:47 AM
pig.gif
sjoerdje
Peasant He/Him Netherlands
Lava pig to the rescue! 
Thanks scratcher!