Trigger help?
Posted: January 18th, 2007, 7:46 pm
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shadowbolt Volley (Thunderclap Base)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Shadowbolt Volley (Thunderclap Base) for (Triggering unit)) Equal to 1
Then - Actions
Set sbolt_damage = ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 0.60)
Unit Group - Pick every unit in (Units within 800.00 of (Position of (Triggering unit))) and do (Actions)
Loop - Actions
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit - Create 1 dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
Unit - Add Shadowbolt (Death Coil Base) to (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Undead Death Knight - Death Coil (Picked unit)
Unit - Order (Last created unit) to damage (Picked unit) for sbolt_damage using attack type Spells and damage type Death.
Wait 1.50 seconds
Else - Actions
Do nothing
The problem is that it doesn't cast three waves like it should, so I'm asking for help because I'm too lazy to really go indepth into it. =P
Although I'm assuming it has something to do with the events or it being integer A rather than integer variable...?
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shadowbolt Volley (Thunderclap Base)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Shadowbolt Volley (Thunderclap Base) for (Triggering unit)) Equal to 1
Then - Actions
Set sbolt_damage = ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 0.60)
Unit Group - Pick every unit in (Units within 800.00 of (Position of (Triggering unit))) and do (Actions)
Loop - Actions
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Unit - Create 1 dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
Unit - Add Shadowbolt (Death Coil Base) to (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Undead Death Knight - Death Coil (Picked unit)
Unit - Order (Last created unit) to damage (Picked unit) for sbolt_damage using attack type Spells and damage type Death.
Wait 1.50 seconds
Else - Actions
Do nothing
The problem is that it doesn't cast three waves like it should, so I'm asking for help because I'm too lazy to really go indepth into it. =P
Although I'm assuming it has something to do with the events or it being integer A rather than integer variable...?