- Joined
- May 9, 2008
- Messages
- 1,446
It feels like this spell is bugged, some1 it doesn't work at 100% :S
-
Incarcerous
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Incarcerous *
-
Actions
- Set TriggeringUnit = (Triggering unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Ability being cast) for (Triggering unit)) Equal to 1
-
Then - Actions
- Unit - Create 1 Esnare 1 for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
- Set UnitVariable = (Last created unit)
- Set Rope_Point = (Target point of ability being cast)
- Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
- Trigger - Turn on Unit Group <gen>
- Wait 3.00 seconds
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Ability being cast) for (Triggering unit)) Equal to 2
-
Then - Actions
- Unit - Create 1 Esnare 2 for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
- Set UnitVariable = (Last created unit)
- Set Rope_Point = (Target point of ability being cast)
- Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
- Trigger - Turn on Unit Group <gen>
- Wait 4.00 seconds
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Ability being cast) for (Triggering unit)) Equal to 3
-
Then - Actions
- Unit - Create 1 Esnare 3 for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Position of (Triggering unit))
- Set UnitVariable = (Last created unit)
- Set Rope_Point = (Target point of ability being cast)
- Sound - Set position of EnsnareTarget <gen> to Rope_Point with Z offset 0.00
- Trigger - Turn on Unit Group <gen>
- Wait 5.00 seconds
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Trigger - Turn off Unit Group <gen>
- Sound - Destroy EnsnareTarget <gen>
-
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of (Ability being cast) for (Triggering unit)))))) of Rope_Point) and do (Actions)
-
Loop - Actions
- Unit - Unpause (Picked unit)
-
Loop - Actions
- Unit - Kill UnitVariable
-
Events
-
Unit Group
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of Incarcerous * for TriggeringUnit))))) of Rope_Point) and do (Actions)
-
Loop - Actions
- Unit - Pause (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within (100.00 + (100.00 x (Real((Level of Incarcerous * for TriggeringUnit))))) of Rope_Point) and do (Actions)
-
Events