- Joined
- Aug 1, 2008
- Messages
- 453
How do i make it so a unit with a AoE splash of 150, attacks he slows all those units? I tried to do this with a trigger but i couldn't find a way to detect if a unit is hurt by the AoE.
Here's my trigger
Here's my trigger
-
Time Mage Level 1 Slow
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to |cffBB9910Lv. 1 White Mage
-
-
Actions
-
-------- Tower Level --------
-
Set Temp__Interger[1] = 1
-
-------- Tower Damage --------
-
Set Temp__Interger[2] = 6
-
-------- Attack Unit --------
-
Set Temp_Unit[1] = (Attacked unit)
-
-------- ----------------- --------
-
Unit - Add Time Mage Slow (Effect) to (Attacked unit)
-
Unit - Set level of Time Mage Slow (Effect) for (Attacked unit) to Temp_Interger
-
-