- Joined
- Apr 15, 2016
- Messages
- 61
-
Shadow MUI
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Shadow
-
Actions
- Set C_Start = (C_Start + 1)
- Set C_Caster[C_Start] = (Triggering unit)
- Unit - Add Ghost Stealth to C_Caster[C_Start]
- Set C_Timer[C_Start] = 0.00
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- C_Start Equal to 1
-
Then - Actions
- Trigger - Turn on Shadow Period <gen>
- Else - Actions
-
If - Conditions
-
Events
-
Shadow Period
-
Events
- Time - Elapsed game time is 0.03 seconds
- Conditions
-
Actions
-
For each (Integer C_CIndex) from 1 to C_Start, do (Actions)
-
Loop - Actions
- Set C_Timer[C_CIndex] = (C_Timer[C_CIndex] + 0.03)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- C_Timer[C_CIndex] Equal to 5.00
-
Then - Actions
- Unit - Remove Ghost Stealth from C_Caster[C_CIndex]
- Set C_Caster[C_CIndex] = C_Caster[C_Start]
- Set C_Timer[C_CIndex] = C_Timer[C_Start]
- Set C_Start = (C_Start - 1)
- Set C_CIndex = (C_CIndex - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- C_Start Equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
Loop - Actions
-
For each (Integer C_CIndex) from 1 to C_Start, do (Actions)
-
Events
Seriously, what's wrong with this trigger ? The "Unit - Remove ability" part is not working. The unit becomes invisible FOREVER.