I was wondering how to make it so that only one unit may be put under the effect of a spell per hero, so in this instance the mage can only polymorph 1 unit at a time and when the buff runs out then that particular mage can cast again.
Polymorph HP Regen Detect Events Time - Every 1.00 seconds of game time Conditions Actions Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions) Loop - Actions If (((Picked unit) is Polymorphed) Equal to True) then do (Advanced - Heal (Picked unit) for (Random percentage) hitpoints) else do (Do nothing)
For the healing, btw anyone know if its possible to hide the healing effect?