- Joined
- May 11, 2012
- Messages
- 2,108
This trigger seems to fail to work sometimes. Any suggestions?
-
Shadow Blast End
-
Events
-
Time - ShadowBlast_Timer expires
-
-
Conditions
-
Actions
-
Trigger - Turn off Shadow Blast Loop <gen>
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
Set ShadowBlast_DummyPosition[(Integer A)] = (Position of ShadowBlast_Dummy[(Integer A)])
-
Special Effect - Create a special effect at ShadowBlast_DummyPosition[(Integer A)] using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 400.00 of ShadowBlast_DummyPosition[(Integer A)]) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Shadow Blast for ShadowBlast_TrigUnit) Equal to 1
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) belongs to an enemy of (Owner of ShadowBlast_TrigUnit)) Equal to True
-
((Picked unit) is alive) Equal to True
-
((Picked unit) is dead) Equal to False
-
-
Then - Actions
-
Unit - Cause ShadowBlast_TrigUnit to damage (Picked unit), dealing 150.00 damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Shadow Blast for ShadowBlast_TrigUnit) Equal to 2
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) belongs to an enemy of (Owner of ShadowBlast_TrigUnit)) Equal to True
-
((Picked unit) is alive) Equal to True
-
((Picked unit) is dead) Equal to False
-
-
Then - Actions
-
Unit - Cause ShadowBlast_TrigUnit to damage (Picked unit), dealing 300.00 damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Shadow Blast for ShadowBlast_TrigUnit) Equal to 3
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) belongs to an enemy of (Owner of ShadowBlast_TrigUnit)) Equal to True
-
((Picked unit) is alive) Equal to True
-
((Picked unit) is dead) Equal to False
-
-
Then - Actions
-
Unit - Cause ShadowBlast_TrigUnit to damage (Picked unit), dealing 600.00 damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Shadow Blast for ShadowBlast_TrigUnit) Equal to 4
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) belongs to an enemy of (Owner of ShadowBlast_TrigUnit)) Equal to True
-
((Picked unit) is alive) Equal to True
-
((Picked unit) is dead) Equal to False
-
-
Then - Actions
-
Unit - Cause ShadowBlast_TrigUnit to damage (Picked unit), dealing 1200.00 damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Shadow Blast for ShadowBlast_TrigUnit) Equal to 5
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) belongs to an enemy of (Owner of ShadowBlast_TrigUnit)) Equal to True
-
((Picked unit) is alive) Equal to True
-
((Picked unit) is dead) Equal to False
-
-
Then - Actions
-
Unit - Cause ShadowBlast_TrigUnit to damage (Picked unit), dealing 2400.00 damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
Custom script: call RemoveLocation(udg_ShadowBlast_DummyPosition[GetForLoopIndexA()])
-
-
-
-