I wannted to have a curse spell as a aoe spell (e g blizzard)I mad a trigger for it but the problem is that istead of casting curse on every unit in area. The trigger casts it only on 1. I have turned all values of curse to 0 (e.g. cooldown 0, manacost 0 etc.) Here is the trigger i hope u can help me.
- Banshees Curse
-
Events
- Unit - A unit starts the effect of an ability
-
Conditions
- (Abiliy beimg cast) Equal to Banshee´s Curse
-
Actions
- Unit - Creat 1 Curse for (Owner of (Casting uniz)) at (Target point of ability being cast) facing (Position of (Casting unit))
- Unit - Set level of Curse for (Last created unit) to (Level of Banshee´s Curse for (casting unit))
- Unit - Add a10.00 seconds Generic expiration timer to (last created unit)
-
Unit Group - Pick every unit in (Units within (205.00+(50.00x(Real((Level of Banshee´s Curse for (Casting unit)))))) of (Position of (Last created unit))) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is alive) Equal to True
- ((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to true
-
Then - Actions
- Unit - Order (Last created unit) to Undead Banshee - Curse (Picked unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions