[ABILITY] Evasion Aura?

Status
Not open for further replies.
Level 3
Joined
Sep 9, 2009
Messages
658
You'll need more triggers to do the spell but here's the most important one.

  • Evasion Aura Periodic
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in Group1 and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Devotion Aura) Equal to True
              • ((Picked unit) is in Group2) Equal to False
            • Then - Actions
              • Unit Group - Add (Picked unit) to Group2
              • Unit - Add Evasion (Neutral Hostile) to (Picked unit)
              • Unit - Set level of Evasion (Neutral Hostile) for (Picked unit) to (Level of Devotion Aura for AuraUnit)
            • Else - Actions
              • Unit Group - Remove (Picked unit) from Group2
              • Unit - Remove Evasion (Neutral Hostile) from (Picked unit)
You need to set Group1 to pick the units you want to pick.
You also need a trigger which stores the Hero into a variable as soon as he learns the Evasion Aura. This allows you to keep track of his location.
You also need a trigger that updates the level of the dummy evasion ability when the Hero increases the aura's level.

PS: Set the periodic trigger to initially off. And the range of the unit group selection should be more than the range of the aura.
 
Status
Not open for further replies.
Top