• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Draining and restoring a % of life.

Status
Not open for further replies.
Level 4
Joined
Aug 30, 2005
Messages
94
I am having trouble finding a command that will allow me to take away % of a units life and after a set amount of time restore that life to the unit, (if it is still alive however). Hopefully someone here can help with this issue and preferably not use JASS (although if it must be done then I am fine with it so long as you help me with the rest of the ability.)
Thanks for reading
-Murlok
 
Level 4
Joined
Aug 30, 2005
Messages
94
Thanks for the help, however I see a problem with this script, being that if the unit in question nulls all damage it takes between the time it lost % of its life and gained it back, or am I reading this script wrong.
 
Status
Not open for further replies.
Top