I'm making a spell, that's suposed to cast Inferno on every unit within 800 of the caster. The issue is that the spell creates about 20 Infernals instead of just one for each unit. I've tried several things to fix this, and I can't figure it out.
Here's my triggering:
Inferno Storm
Events:
Unit - A unit finishes casting an ability
Conditions:
(Ability Being cast) Equal to Inferno Storm
(Level of Inferno Storm for (Casting unit)) Equal to 1
Events:
Pick every unit in (Units within 800.00 of (Position of (Triggering unit)) matching ((Owner of (Picked Unit)) Not equal to (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
Add a 1.5 second Generic expiration timer to (Last created unit)
Add Inferno to (Last created unit)
Order (Last created unit) to Undead Dreadlord - Inferno (Position of (Picked unit))
I was hoping sombody could possibly shed some light on this problem
Here's my triggering:
Inferno Storm
Events:
Unit - A unit finishes casting an ability
Conditions:
(Ability Being cast) Equal to Inferno Storm
(Level of Inferno Storm for (Casting unit)) Equal to 1
Events:
Pick every unit in (Units within 800.00 of (Position of (Triggering unit)) matching ((Owner of (Picked Unit)) Not equal to (Owner of (Triggering unit))) and do (Actions)
Loop - Actions
Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
Add a 1.5 second Generic expiration timer to (Last created unit)
Add Inferno to (Last created unit)
Order (Last created unit) to Undead Dreadlord - Inferno (Position of (Picked unit))
I was hoping sombody could possibly shed some light on this problem