Healing Aura

Stigoz

New Member
Reaction score
1
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?



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))
 

N2o)

Retired.
Reaction score
51
Unit Group - Pick every unit in (Units within 510.00 of (Position of Necrolord) matching ((Owner of (Matching Unit)) Equal to (Owner of Necrolord))) and do (Actions)

that leaks btw.
 

Stigoz

New Member
Reaction score
1
Thanks alot.

I DO know that there's leaks - I just usualy removes them when the trigger is completely done.

And yes, the Necrolord variable is right, I'm 100% sure of that.

EDIT: It works now, +rep
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top