- Joined
- Jun 26, 2014
- Messages
- 513
The spell should be a volley/barrage of arrows simillar to the one that Ashe from LoL has. It's based of from flame strike and the dummy spell is based off from carrior swarm. The problem is that when the archer casts the spell only one arrow shoots out at the targeted area. What do I need to change so that multiple arrows go flying in the direction.
Trigger:
Trigger:
-
Arrow Barrage
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Arrow Barrage
-
-
Actions
-
For each (Integer A) from 1 to 20, do (Actions)
-
Loop - Actions
-
Set SpellABarrageUnit = (Casting unit)
-
Set SpellABarragePoint[1] = (Position of SpellABarrageUnit)
-
Set SpellABarragePoint[2] = (Target point of ability being cast)
-
Set SpellABarragePoint[3] = (SpellABarragePoint[2] offset by 100.00 towards (18.00 x (Real((Integer A)))) degrees)
-
Unit - Create 1 Arrow Barrage Dummy for (Owner of SpellABarrageUnit) at SpellABarragePoint[1] facing (Angle from SpellABarragePoint[1] to SpellABarragePoint[3]) degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm SpellABarragePoint[3]
-
Custom script: call RemoveLocation (udg_SpellABarragePoint[1])
-
Custom script: call RemoveLocation (udg_SpellABarragePoint[2])
-
Custom script: call RemoveLocation (udg_SpellABarragePoint[3])
-
-
-
-