I'm working on a skill that will pick every unit in a group and do actions, but it's not working as it was writen for. There is a good time I don't play with triggers, but it feels so strange, so I would like some help. So, if you can spare some time I will be grateful.
The trigger is the following:
The trigger is the following:
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Frost Nova
-
-
Actions
-
Sound - Play Mage_FrostNova_Cast_1 <gen> at 100.00% volume, attached to (Casting unit)
-
Unit Group - Add all units of (Units within 500.00 of (Position of (Casting unit)) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and ((((Matching unit) is dead) Equal to False) and (((Matching unit) belongs to an enemy to FrostNova
-
Unit Group - Pick every unit in FrostNova and do (Actions)
-
Loop - Actions
-
Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Picked unit)) facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add FrostNovaDummy to (Last created unit)
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Picked unit)
-
Unit - Cause (Casting unit) to damage (Picked unit), dealing ((((Real((Strength of (Casting unit) (Include bonuses)))) + (Real((Agility of (Casting unit) (Include bonuses))))) x 1.00) + ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 2.00)) damage of attack type Spells and damage type Cold
-
-
-
Unit Group - Remove all units from FrostNova
-
Last edited: