Is this knockback trigger leak free?
-
Dash Knockback
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Dash
-
Actions
- Set Dash_Caster = (Triggering unit)
- Set Dash_Target = (Target unit of ability being cast)
- Set Dash_Location = (Position of Dash_Caster)
- Trigger - Turn on Dash Push <gen>
- Wait 1.00 game-time seconds
- Trigger - Turn off Dash Push <gen>
- Custom script: call RemoveLocation(udg_Dash_Location)
-
Events
-
Dash Push
-
Events
- Time - Every 0.04 seconds of game time
- Conditions
-
Actions
- Unit - Move Dash_Target instantly to (Dash_Location offset by ((Distance between Dash_Location and (Position of Dash_Target)) + 5.00) towards (Angle from Dash_Location to (Position of Dash_Target)) degrees)
-
Events