Hello, can somebody tell me why the second half of the following trigger doesn't work (the ability does not get enabled again). It's supossed to be kind of an attemp to "fake" an ability that has charges. Thanks!
-
Untitled Trigger 005
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Summon Flame Barbarian (Archimonde)
-
Actions
- Set VariableSet BarbarianCounter = (BarbarianCounter - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BarbarianCounter Equal to 0
-
Then - Actions
- Unit - For (Triggering unit), Ability Summon Flame Barbarian (Archimonde), Disable ability: True, Hide UI: False
- Countdown Timer - Start ChargeTimer as a Repeating timer that will expire in 5.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Remaining time for ChargeTimer) Equal to 0.00
-
Then - Actions
- Set VariableSet BarbarianCounter = (BarbarianCounter + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- BarbarianCounter Greater than 0
-
Then - Actions
- Unit - For (Triggering unit), Ability Summon Flame Barbarian (Archimonde), Disable ability: False, Hide UI: False
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
Events