I am trying to make a trigger where in, whenever a unit attacks, it has a 10% chance to damage and slow the attackspeed of a unit within 400 range. Here is the trigger I made.

-
Nature Cleave Trigger
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-


(Level of Nature Cleave for (Attacking unit)) Greater than or equal to 1
-
-

Actions
-


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



If - Conditions
-




(Level of Nature Cleave for (Attacking unit)) Equal to 1
-
-



Then - 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
-
-





Then - Actions
-






Unit Group - Pick every unit in (Random 1 units from (Units within 400.00 of (Position of (Attacking unit)) matching (((Picked unit) belongs to an enemy of (Owner of (Attacking unit))) Equal to True))) and do (Actions)
-







Loop - Actions
-








Unit - Create 1 Dummy (Nature Cleave) for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
-








Unit - Set level of Nature Cleave Slow (Neutral Hostile) for (Last created unit) to (Level of Nature Cleave for (Attacking unit))
-








Unit - Order (Last created unit) to Night Elf Warden - Shadow Strike (Picked unit)
-








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









If - Conditions
-










((Picked unit) has buff Shadow Strike) Equal to True
-
-









Then - Actions
-










Unit - Kill (Last created unit)
-
-









Else - Actions
-
-
-
-
-





Else - Actions
-
-
-



Else - Actions
-
-
-




