- Joined
- Aug 19, 2007
- Messages
- 1,380
Hi there, could somebody help me to fix the following trigger, it works except it doesn't summon the Spirit of Vengeance, and I'm aware that there are leaks in it and which they are:
-
Dimension Warp
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Dimension Warp
-
-
Actions
-
Wait 0.20 seconds
-
Unit - Move (Target unit of ability being cast) instantly to ((Position of (Target unit of ability being cast)) offset by 300.00 towards (Random angle) degrees)
-
Wait 2.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Target unit of ability being cast) is dead) Equal to True
-
-
Then - Actions
-
Unit - Create 1 Spirit of Vengeance for (Owner of (Casting unit)) at (Position of (Dying unit)) facing (Facing of (Dying unit)) degrees
-
Wait 0.10 game-time seconds
-
Unit Group - Pick every unit in (Units owned by (Owner of (Casting unit)) of type Spirit of Vengeance) and do (Actions)
-
Loop - Actions
-
Unit - Set level of Power for (Picked unit) to (2 x (Level of Dimension Warp for (Casting unit)))
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
-