hello i got a problem in my trigger when i cast it once its fine but when two caster cast it the other one will become normal but the second one is not normal.. this is the trigger..
-
Rage
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Rage
-
Actions
- Set RageIndex = (RageIndex + 1)
- Set RageCaster[RageIndex] = (Triggering unit)
- Set RageStack[RageIndex] = 0.00
- Set RageSize[RageIndex] = (100.00 + RageStack[RageIndex])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RageIndex Greater than or equal to 0
-
Then - Actions
- Trigger - Turn on Rage Loop <gen>
- Else - Actions
-
If - Conditions
-
Events
-
Rage Loop
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
For each (Integer RageRecycle) from 1 to RageIndex, do (Actions)
-
Loop - Actions
- Set RageStack[RageRecycle] = (RageStack[RageRecycle] + 1.00)
- Set RageSize[RageRecycle] = (100.00 + RageStack[RageRecycle])
- Animation - Change RageCaster[RageRecycle]'s size to (RageSize[RageRecycle]%, RageSize[RageRecycle]%, RageSize[RageRecycle]%) of its original size
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- RageStack[RageRecycle] Greater than or equal to 75.00
-
Then - Actions
- Animation - Change RageCaster[RageRecycle]'s size to (100.00%, 100.00%, 100.00%) of its original size
- Set RageCaster[RageRecycle] = RageCaster[RageIndex]
- Set RageRecycle = (RageRecycle - 1)
- Set RageIndex = (RageIndex - 1)
- Set RageSize[RageRecycle] = RageSize[RageIndex]
- Set RageStack[RageRecycle] = RageStack[RageIndex]
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
For each (Integer RageRecycle) from 1 to RageIndex, do (Actions)
-
Events