-
Invulnerable
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Invulnerable
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Level of (Ability being cast) for (Triggering unit)) Equal to 1
-
-



Then - Actions
-




Sound - Play Invulnerable <gen>
-




Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
-




Player Group - Pick every player in (All allies of (Triggering player)) and do (Actions)
-





Loop - Actions
-






Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Picked unit) is A Hero) Equal to True)) and do (Unit - Make (Picked unit) Invulnerable)
-
-
-




Special Effect - Destroy (Last created special effect)
-




Wait 5.00 seconds
-




Player Group - Pick every player in (All allies of (Triggering player)) and do (Actions)
-





Loop - Actions
-






Unit Group - Pick every unit in (Units owned by (Picked player) matching (((Picked unit) is A Hero) Equal to True)) and do (Unit - Make (Picked unit) Vulnerable)
-
-
-
-



Else - Actions
-




Do nothing
-
-
-
-
- Make all allies hero invulnerable within 5 seconds.
- Revert back to vulnerable after 5 seconds.
My problem is that all the allies hero isn't invulnerable when i started to use the ability. Is there any part of the trigger wrong?
