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

[Trigger] Get healed when kill a unit

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Heal
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Killing unit) Equal to (MyUnit)
    • Actions
      • Unit - Set life of (Killing unit) to ((Life of (Killing unit)) + ((Max life of (Dying unit)) x 0.20))
Set your hero to a variable if you need that kind of condition. Use "Arithmetic" to browse those life values. Max life can be found under unit - property.
 
Status
Not open for further replies.
Top