- Joined
- May 21, 2014
- Messages
- 580
I have 3 triggers that make up a spell called "Earthshock".
That spell causes a stun in an area after channeling of 1 (or 2) second(s) is complete. It literally is just War Stomp, but in an area and with channeling stuff.
The channel here isn't continuous; I wanted it like to be Flame Strike. Flame Strike, when casted, has that delay where you should complete the casting, and if cancelled it will still undergo cooldown, and no flame strike happened, just its effects.
Now, what I wanted to ask is if it will cause leaks. I am not asking if it's MUI or not, just leak-related.
Here are the triggers:
Thanks for anyone who replies.
EDIT: Edited the post. I was stupid for not updating my triggers
That spell causes a stun in an area after channeling of 1 (or 2) second(s) is complete. It literally is just War Stomp, but in an area and with channeling stuff.
The channel here isn't continuous; I wanted it like to be Flame Strike. Flame Strike, when casted, has that delay where you should complete the casting, and if cancelled it will still undergo cooldown, and no flame strike happened, just its effects.
Now, what I wanted to ask is if it will cause leaks. I am not asking if it's MUI or not, just leak-related.
Here are the triggers:
-
Earthshock Channel Start
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Earthshock (Zick Prophet)
- (Casting unit) Equal to EarthshockHandler
-
Actions
- Set EarthshockPoint = (Target point of ability being cast)
- Special Effect - Create a special effect at EarthshockPoint using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
- Special Effect - Destroy (Last created special effect)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
- (Level of Earthshock (Zick Prophet) for (Casting unit)) Greater than or equal to 1
- (Level of Earthshock (Zick Prophet) for (Casting unit)) Less than or equal to 2
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Countdown Timer - Start EarthshockTimer as a One-shot timer that will expire in 2.00 seconds
-
Else - Actions
- Countdown Timer - Start EarthshockTimer as a One-shot timer that will expire in 1.00 seconds
-
If - Conditions
- Trigger - Turn on Earthshock Interruption <gen>
- Trigger - Turn on Earthshock <gen>
-
Events
-
Earthshock Interruption
-
Events
- Unit - A unit Is issued an order targeting an object
- Unit - A unit Is issued an order targeting a point
- Unit - A unit Is issued an order with no target
-
Conditions
- (Ordered unit) Equal to EarthshockHandler
-
Actions
- Countdown Timer - Pause EarthshockTimer
- Custom script: call RemoveLocation (udg_EarthshockPoint)
- Custom script: set udg_EarthshockPoint = null
- Trigger - Turn off Earthshock <gen>
- Trigger - Turn off Earthshock Interruption <gen>
-
Events
-
Earthshock
-
Events
- Time - EarthshockTimer expires
- Conditions
-
Actions
- Trigger - Turn off Earthshock Interruption <gen>
- Unit - Create 1 Dummy Maimer / Stomper for (Owner of EarthshockHandler) at EarthshockPoint facing Default building facing degrees
- Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
- Unit - Remove (Last created unit) from the game
- Custom script: call RemoveLocation (udg_EarthshockPoint)
- Custom script: set udg_EarthshockPoint = null
- Trigger - Turn off Earthshock <gen>
-
Events
Thanks for anyone who replies.
EDIT: Edited the post. I was stupid for not updating my triggers
Last edited: