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!
I would store the hero´s hp in a variable and check every 0.03 seconds if the hero has less hp.if not, I would set it´s hp to the variable. This variable could be reduced with Bribe´s damage engine so the hero would take damage.
I'm not sure but I think you can set the HP regen in the object editor to 0.
And go to Advanced -> game play contrast(not sure) then change
strength-HP regen bonus per point (or some thing like that) to 0.
- Make a global group and a looping trigger of 0.05 per second...
- When cast to hero/unit, save the life of the hero (target) to a hashtable, add the target to the group...
- In the looping trigger, put a condition if the life of hero is greater than the saved value, then load the saved hashtable (in this case, the life)...
- When life of hero is less than the saved life, save again the life into the hashtable, this will overwrite the previous saved life of the hero...
The above method cannot be affected by healing...
EDIT: Something like this...
Event
Unit - Starts the effect of ability
Conditions
Ability - Ability being cast equals to blahhh
Actions
Custom script: set udg_uID = GetHandleId(GetSpellTargetUnit())
- Make a global group and a looping trigger of 0.05 per second...
- When cast to hero/unit, save the life of the hero (target) to a hashtable, add the target to the group...
- In the looping trigger, put a condition if the life of hero is greater than the saved value, then load the saved hashtable (in this case, the life)...
- When life of hero is less than the saved life, save again the life into the hashtable, this will overwrite the previous saved life of the hero...
The above method cannot be affected by healing...
EDIT: Something like this...
Event
Unit - Starts the effect of ability
Conditions
Ability - Ability being cast equals to blahhh
Actions
Custom script: set udg_uID = GetHandleId(GetSpellTargetUnit())
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.