Warcraft III resources & community, 2003–2006 · archived

Wondering if i could get some help..

4 posts
#1

Wondering if i could get some help..

Im wondering if anyone can solve this math problem.

A units health is varaible, can be any number without any limits as to what it is.
The problem is, how do i reduce this to 100 no matter what the number.
And then how do i reduce it once its reducted if the reduction is based of damage?
(i need triggering, preferably not in jass because i have to fuse this with other things.)
#2
set the variable to 100...

unless thats not what you're asking, please try to be very specific with your wording
#3
I dont understand either... but cant you use % or anything like that?
#4
oo, do you mean you have a unit whose MAXHEALTH varies, ie anything... and you want to know how to set his MAXHEALTH back to 100?

if this is so, how does the unit game maxhealth?

if not, i still can't figure out what you mean