• 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.

percent % heal

Status
Not open for further replies.
Level 4
Joined
Jan 13, 2013
Messages
92
couldn't find any similar thread, well, how can i make an unit heal 20% of its current hp when it cast a skill
 
Level 14
Joined
Nov 17, 2010
Messages
1,266
You could trigger it by setting the life of the unit. The trigger would be something like:
Set life of triggering unit = (current life of triggering unit + (current life of triggering unit/5))

or something like that. Unless you want to heal for 20% of the unit's maximum life. Then it would be (current life + (max life/5)
 
Status
Not open for further replies.
Top