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!
Do you always want it to restore 33% or should it restore up to 33% based on the life of the unit you sacrifice? I would make Death Pact not restore any life in the OE and then add this trigger:
Events
Unit - A unit starts the effect of an ability
Conditions
(Ability being cast) equal to Death Pact
Actions
Unit - Set life of (Triggering Unit) to ((Life of triggering Unit) + (0.33 x (Max life of (Triggering Unit))))
-------- or to base it on sac'd unit life: --------
Set LifeMax = (0.33 x (Max life of (Triggering Unit)))
Set LifeMax = Maximum(LifeMax, (Life of (Target Unit of Ability Being Cast)))
Unit - Set life of (Triggering Unit) to ((Life of triggering Unit) + LifeMax)
In my limited testing with this just now it appears that the “percentage” flag in death pact actually does the exact opposite. Most Wc3 spells expect percentages in those type of fields so 0.33 = 33%, it’s just how % works.
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.