% Healing?

Kenak

New Member
Reaction score
3
Is there any way to make a healing spell heal for a certain % of the targeted unit's max HP? For a map I'm helping with a Hero has the ability, Holy Light, but it heals 0 damage. I then made a trigger, but I cannot figure out how to make it heal for percent.

(EX: Level 1 heals for 20%, Level 2 heals for 25%, Level 3 heals for 33%, Level 4 heals for 40%, Level 5 heals for 50%, Level 6 heals for 66%.)

Any help is appreciated =)

(I'm not asking for a trigger to do it, but more of guidance and what I would need to do..sorry if that's asking for too much).
 

XXXconanXXX

Cocktails anyone?
Reaction score
284
Your not asking for a trigger?

You can jsut have a trigger exeucte when they cast the ability, and set their life point to there life points * .10 or whatever percent you want.
 

Vexorian

Why no custom sig?
Reaction score
187
Code:
set Somerealvar = Max life of (unit) * 0.25 
--- If you want 25 percent ---
- Set life of unit to (life of unit) + Somerealvar
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top