sense fear unit add
Events
Unit - A unit enters (Playable map area)
Conditions
(Unit-type of (Triggering unit)) Equal to Savage Berserker
Actions
Set sensefearunit = (Triggering unit)
sense fear
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set temporaryfearsense = (Position of sensefearunit)
Set fearsensegroup = (Units within 500.00 of (Position of sensefearunit) matching ((Life of (Matching unit)) Less than or equal to (0.40 x (Max life of (Matching unit)))))
Unit Group - Pick every unit in fearsensegroup and do (Actions)
Loop - Actions
Unit - Create 1 Dummy Caster for (Owner of sensefearunit) at (Position of (Matching unit)) facing Default building facing degrees
Unit - Add Faerie Fire to (Last created unit)
Unit - Order (Last created unit) to Night Elf Druid Of The Talon - Faerie Fire (Matching unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)