Events
Unit - A unit Is attacked
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 5) Equal to 3
((Attacked unit) has buff Nature's Grace ) Equal to True
Then - Actions
Unit - Create 1 <dummy_root> for Player 1 (Red) at (Position of (Attacked unit)) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Attacking unit)
Else - Actions
Do nothing
Zyrre said:BTW i did like this
Code:Events Unit - A unit Is attacked Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Random integer number between 1 and 5) Equal to 3 ((Attacked unit) has buff Nature's Grace ) Equal to True Then - Actions Unit - Create 1 <dummy_root> for Player 1 (Red) at (Position of (Attacked unit)) facing Default building facing degrees Unit - Add a 1.00 second Generic expiration timer to (Last created unit) Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Attacking unit) Else - Actions Do nothing
Thinks it work[/code]