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!
Just wondering how you do a spell based off the casters own stats. Eg a spell that recovers 50% of the casters life or mana, rather than a fixed amount
Unit - Set life of (Triggering unit) to (((Life of (Triggering unit)) + (((Life of (Triggering unit) * 0.5))) - This will recover half of the current health.
Unit - Set mana of (Triggering unit) to (((Mana of (Triggering unit)) + (((Mana of (Triggering unit) * 0.5)))
Unit - Set life of (Triggering unit) to (((Max Life of (Triggering unit)) * 0.5) > This will recover the unit's health to 50% of it's max health, though, if the unit has full life, it will damage it instead, so i would use the trigger for recovering half of current health.
Lol, that could almost be a nice spell except it whould be better like if the target has over 70% hp it will damage the unit, and I know that it is possible to create such spell but you gave me the idea. And still I wont use it ....Or maybe I did some month ago......anyways.
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.