- Joined
- Sep 3, 2004
- Messages
- 2,086
Doing the last spell in my submission, but this one spell, which is a targeted multishot that fires in waves, USES variables to bypass damned wait queues, all order strings done correctly, and IT STILL DOESN"T WORK. :evil:
The bolt ability is based of chain lightning to stop perma stun, and it still doesn't work
The bolt ability is based of chain lightning to stop perma stun, and it still doesn't work
Code:
Mana Flare
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mana Flare
Actions
Set CastingPoint = (Target point of ability being cast)
Unit - Create 1 Flare Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Set DummyReference = (Last created unit)
For each (Integer A) from 1 to (1 + (Level of Mana Flare for (Triggering unit))), do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units within (200.00 + ((Real((Level of (Ability being cast) for (Triggering unit)))) x 50.00)) of CastingPoint) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Picked unit)) is an enemy of (Owner of (Triggering unit))) Equal to True
Then - Actions
Unit - Order DummyReference to Orc Far Seer - Chain Lightning (Picked unit)
Wait 0.20 seconds
Else - Actions
Do nothing
Unit - Remove DummyReference from the game
Set DummyReference = No unit