- Joined
- Aug 18, 2009
- Messages
- 21
Greetings. I have a problem where this skill only stuns one unit from the picked group
Here is my trigger:
Here is my trigger:
-
Events
-

Unit - A unit Starts the effect of an ability
-

Conditions
-


(Ability being cast) Equal to Mana Blast
-
-

Actions
-


Set Location[1] = (Position of (Triggering unit))
-


Custom script: set bj_wantDestroyGroup = true
-


Unit Group - Pick every unit in (Units within 300.00 of Location[1] matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked unit) belongs to an enemy of (Triggering player)) Equal to True
-






((Picked unit) is alive) Equal to True
-






((Picked unit) is Mechanical) Equal to False
-
-





Then - Actions
-






Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Weapons\LordofFlameMissile\LordofFlameMissile.mdl
-






Special Effect - Destroy (Last created special effect)
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Level of boss (Least) for (Picked unit)) Not equal to 1
-
-







Then - Actions
-








Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Location[1] facing Default building facing degrees
-








Unit - Add stun 1 sec (Neutral Hostile) to (Last created unit)
-








Unit - Order (Last created unit) to Neutral - Firebolt (Picked unit)
-








Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
-







Else - Actions
-
-






Unit - Cause (Triggering unit) to damage (Picked unit), dealing (0.00 + (1.25 x (Real((Agility of (Triggering unit) (Include bonuses)))))) damage of attack type Hero and damage type Normal
-
-





Else - Actions
-
-
-
-


Custom script: call RemoveLocation(udg_Location[1])
-
-



