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!
ahk...but i have never used jass before how would make it that it only lasts for 180 secounds? or hyow to make it to change the attributes when the spell is cast
You can just wait 180 seconds then remove the bonuses using clearBonus(). To set bonuses, call the function setBonus(). The first argument is the magnitude of the bonus, the second argument is the unit receiving the bonus, and the third argument is an integer that corresponds to the type of bonus.
0: damage
1: armor
2: hitpoints
3: mana
So, if I wanted to add a 300 hp bonus to a unit saved under variable udg_Hero, i would do:
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.