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!
Set HealGroup = (Units in Healing Area <gen>((Owner of (Matching unit)) Equal to Player 1 (Red)))
Unit Group - Pick every unit in HealGroup and do (Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + 10.00))
Unit Group - Pick every unit in HealGroup and do (Unit - Set mana of (Picked unit) to ((Mana of (Picked unit)) + 10.00))
Custom script: call DestroyGroup(udg_HealGroup)
Here's a simple solution. Work from there. You can use "unit leaves rect" and "unit enters rect" triggers to turn this one on/off so it's not running all the time.
If those players 1-6 are allies, you can use booldean "unit - owner of unit is an ally of...".
well i just tried do you give any better solutions to this bcs i just simple did when unit enters region it will automatically haves ability life reg and when hero leaves region the ability will be gone
Smth like this?
First triggers add the ability which heals (when the unit enters the specified region)
, and seconds removes the ability (when the units leaves the specified region)
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.