Seeking to create a spell which cast entangling roots in an area around the Hero. Spell is based on channel
-
RootTendrils
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to |cff228b22Root Tendrils|r (2,1 Ent)
-
-

Actions
-


Set VariableSet RT_Caster = (Triggering unit)
-


Set VariableSet RT_TempP = (Position of RT_Caster)
-


Set VariableSet RT_UG = (Units within 500.00 of RT_TempP.)
-


Unit Group - Pick every unit in RT_UG and do (Actions)
-



Loop - Actions
-




Set VariableSet RT_TempU = (Picked unit)
-




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





If - Conditions
-






And - All (Conditions) are true
-







Conditions
-








(RT_TempU is alive) Equal to True
-








(RT_TempU belongs to an enemy of Player 2 (Blue).) Equal to True
-








Or - Any (Conditions) are true
-









Conditions
-
-
-
-
-





Then - Actions
-






Unit - Create 1 Dummy2 for (Owner of RT_Caster) at RT_TempP facing Default building facing degrees
-






Set VariableSet RT_TempU2 = (Last created unit)
-






Unit - Add Dummy: Entangling Roots to RT_TempU2
-






Unit - Order RT_TempU2 to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
-






Unit - Add a 1.00 second Generic expiration timer to RT_TempU2
-
-





Else - Actions
-
-




Custom script: call RemoveLocation(udg_RT_TempP)
-




Custom script: call DestroyGroup(udg_RT_UG)
-
-
-
-

