- Joined
- Aug 28, 2005
- Messages
- 271
I have problems with two triggered spells.
The first one is based on polymorph and it should morph enemy into a tree (which shouldn't be able to move). The problem is that it always have some move speed. I tried to pause the tree but then it became endless spell-the pause didn't stop
Here is my trigger:
I hope someone can help
The first one is based on polymorph and it should morph enemy into a tree (which shouldn't be able to move). The problem is that it always have some move speed. I tried to pause the tree but then it became endless spell-the pause didn't stop
Here is my trigger:
-
Trap Soul pause
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Trap Soul
-
Actions
- Unit - Pause (Target unit of ability being cast)
- Wait (5.00 x (Real((Level of Trap Soul for (Casting unit))))) game-time seconds
- Unit - Unpause (Target unit of ability being cast)
-
Events
-
depth strike
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Depth Strike
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
-
Then - Actions
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 0.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 22.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 45.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 67.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 90.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 112.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 135.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 157.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 180.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 202.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 225.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 247.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 270.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 292.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 315.00 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike for (Last created unit) to (Level of Ethereal Body for (Casting unit))
- Unit - Create 1 Flying Dummy for (Owner of (Casting unit)) at ((Position of (Target unit of ability being cast)) offset by 512.00 towards 337.50 degrees) facing (Position of (Target unit of ability being cast))
- Unit - Add Depth Strike wave to (Last created unit)
- Unit - Set level of Depth Strike wave for (Last created unit) to (Level of Depth Strike for (Casting unit))
- Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Flying Dummy) and do (Unit - Order (Picked unit) to Night Elf Warden - Shadow Strike (Target unit of ability being cast))
- Wait 1.00 game-time seconds
- Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Flying Dummy) and do (Unit - Remove (Picked unit) from the game)
- Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
I hope someone can help