- Joined
- Aug 12, 2008
- Messages
- 350
-
NS effect
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


((Triggering unit) has buff Nature Shield ) Equal to True
-
-

Actions
-


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



If - Conditions
-




(Random integer number between 1 and 100) Less than or equal to (10 + (5 x (Level of Nature Shield for (Triggering unit))))
-
-



Then - Actions
-




Set NS_point = (Position of (Attacking unit))
-




Unit - Create 1 dummy unit (instant spell) for (Owner of (Triggering unit)) at NS_point facing Default building facing degrees
-




Set NS_dummy = (Last created unit)
-




Unit - Add Nature Shield_dummy to NS_dummy
-




Unit - Set level of Nature Shield_dummy for NS_dummy to (Level of Nature Shield for (Triggering unit))
-




Unit - Order NS_dummy to Night Elf Keeper Of The Grove - Entangling Roots (Attacking unit)
-




Custom script: call RemoveLocation (udg_NS_point)
-
-



Else - Actions
-
-
-


