I'm working on a mass entangling type spell, StrangleHand should basically root multiple enemies (just like mass entangle but with different model that I've already put in the spell StrangleHand). For some reason it doesn't show the AoE effect, i can only select one enemy and it doesnt even work. It just roots the target and does it repetitively for couple second and then leaves simple root from Entangling Roots ability
Roots dummy is supposed to be those additional mass roots, its set to 0 mana needed, no cooldown, it has the effect of a hand, and has damage it does and time it should last for
-
Entangling Roots
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to StrangleHand
-
-
Actions
-
Set ER_AoE = 205.00
-
Set ER_Loc = (Target point of ability being cast)
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within ER_AoE of ER_Loc matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to YES)) and do (Actions)
-
Loop - Actions
-
Unit - Create 1 DUMMY for (Owner of (Triggering unit)) at ER_Loc facing Default building facing degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Roots dummy to (Last created unit)
-
Unit - Set level of Roots dummy for (Last created unit) to (Level of StrangleHand for (Triggering unit))
-
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove: Entangling Roots (Picked unit)
-
-
-
Custom script: call RemoveLocation(udg_ER_Loc)
-
-
Roots dummy is supposed to be those additional mass roots, its set to 0 mana needed, no cooldown, it has the effect of a hand, and has damage it does and time it should last for