I'm trying to make this passive ability for my hero, the Necrolord, every thirty seconds, it should heal nearby friendly units for an amount equal to 1/5 of his mana. BUT - it won't work.
What did I do wrong?
What did I do wrong?
Code:
Aura
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units within 510.00 of (Position of Necrolord) matching ((Owner of (Picked unit)) Equal to (Owner of Necrolord))) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Mana of Necrolord) / 5.00))