- Joined
- Aug 1, 2008
- Messages
- 453
Im am making a shield ability that absorbs 5 attacks and i was wondering why the healing in this trigger isnt working.. Heres the setup trigger
-
Shadow Shield TURN ON
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Shadow Shield (Neutral Hostile)
-
Actions
- Set Set_Unit = (Casting unit)
- Set Shadow_Shield_HP[(Player number of (Owner of Set_Unit))] = (Life of (Casting unit))
- Set Shadow_INT[(Player number of (Owner of Set_Unit))] = 1
-
Events
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Attacked unit) has buff Mana Shield 1 ) Equal to True
- Shadow_INT[(Player number of (Owner of (Triggering unit)))] Greater than or equal to 1
- Shadow_INT[(Player number of (Owner of (Triggering unit)))] Less than 5
-
Then - Actions
- Set Shadow_INT[(Player number of (Owner of (Triggering unit)))] = (Shadow_INT[(Player number of (Owner of (Triggering unit)))] + 1)
- Unit - Set life of (Triggering unit) to Shadow_Shield_HP[(Player number of (Owner of (Triggering unit)))]
-
Else - Actions
- Set Shadow_INT[(Player number of (Owner of (Triggering unit)))] = 0
- Unit - Remove Mana Shield 1 buff from (Triggering unit)
-
If - Conditions