- Joined
- May 20, 2009
- Messages
- 822
I need some help getting this trigger to function properly.
EDIT: Actually, just as I post this I think I saw the issue...Hold on.
EDIT2: Sorry. xD Will edit original triggers to show what the problem is, for future references.
-
Turn On
-
Events
- Unit - A unit Is issued an order with no target
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Unit-type of (Triggering unit)) Equal to Ranger
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
- (Issued order) Equal to (Order(immolation))
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Unit - Add Permanent Invisibility to (Triggering unit)
- Set Cloaking = (Units of type (Unit-type of (Triggering unit)))
- Set CloakingP1 = (Triggering unit)
- Set ManaOfRangerP1 = (Mana of (Triggering unit))
-
Events
-
Cloaking Level 1
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Level of Cloak for CloakingP1) Equal to 1
- (CloakingP1 has buff Cloaking ) Equal to True <------ This fixed it.
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Unit - Set CloakingP1 movement speed to ((Default movement speed of CloakingP1) + 100.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Turn Off
-
Events
- Unit - A unit Is issued an order with no target
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Issued order) Equal to (Order(unimmolation))
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
- (Unit-type of (Triggering unit)) Equal to Ranger
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Unit - Remove Permanent Invisibility from (Triggering unit)
- Unit - Set CloakingP1 movement speed to (Default movement speed of CloakingP1)
-
Events
EDIT: Actually, just as I post this I think I saw the issue...Hold on.
EDIT2: Sorry. xD Will edit original triggers to show what the problem is, for future references.