- Joined
- Jan 10, 2005
- Messages
- 3,426
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Poison Nova (Necrolord) for (Casting unit)) Equal to 2
Then - Actions
For each (Integer A) from 1 to 7, do (Actions)
Loop - Actions
Unit - Create 1 Poison Nova Dummy I for (Owner of (Casting unit)) at (Position of (Casting unit)) facing ((Position of (Casting unit)) offset by 1000.00 towards ((360.00 / 7.00) x (Real((Integer A)))) degrees)
Unit - Order (Last created unit) to Neutral - Breath Of Frost ((Position of (Casting unit)) offset by 1.00 towards ((360.00 / 7.00) x (Real((Integer A)))) degrees)
Else - Actions
Do nothing
Its supposed to create 7 shockwave based waves around the casting unit, seperated over a circle (thats why i did the 360 thing) but it keeps creating the spells on 1 point, all the 7 ways... rly dont know why
If - Conditions
(Level of Poison Nova (Necrolord) for (Casting unit)) Equal to 2
Then - Actions
For each (Integer A) from 1 to 7, do (Actions)
Loop - Actions
Unit - Create 1 Poison Nova Dummy I for (Owner of (Casting unit)) at (Position of (Casting unit)) facing ((Position of (Casting unit)) offset by 1000.00 towards ((360.00 / 7.00) x (Real((Integer A)))) degrees)
Unit - Order (Last created unit) to Neutral - Breath Of Frost ((Position of (Casting unit)) offset by 1.00 towards ((360.00 / 7.00) x (Real((Integer A)))) degrees)
Else - Actions
Do nothing
Its supposed to create 7 shockwave based waves around the casting unit, seperated over a circle (thats why i did the 360 thing) but it keeps creating the spells on 1 point, all the 7 ways... rly dont know why