-
PlayerRedD
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


((Owner of (Dying unit)) is in Player Group - Player 1 (Red)) Equal to True
-
-

Actions
-


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



If - Conditions
-




((Triggering unit) is A Hero) Equal to True
-




((Owner of (Dying unit)) is in Player Group - Player 1 (Red)) Equal to True
-
-



Then - Actions
-




Game - Display to (All players) the text: (|cffff8800 + ((Name of (Owner of (Killing unit))) + (|r + (|cff77bbff killed |r + (|cffffff00 + ((Name of (Triggering player)) + |r|cff77bbff and gets 300 gold.|r))))))
-




Countdown Timer - Start ReviewTimer as a One-shot timer that will expire in 30.00 seconds
-




Countdown Timer - Show (Last created timer window) for Player 1 (Red)
-




Countdown Timer - Create a timer window for (Last started timer) with title Respawn
-




Player - Add 300 to (Owner of (Killing unit)) Current gold
-




Player - Add -300 to (Owner of (Triggering unit)) Current gold
-




Set Timer_Window = (Last created timer window)
-




Wait 30.00 seconds
-




Set tempPoint[1] = (Center of BaseRed <gen>)
-




Hero - Instantly revive (Triggering unit) at tempPoint[2], Hide revival graphics
-




Hero - Set (Triggering unit) Hero-level to (Level of (Dying unit)), Hide level-up graphics
-




Countdown Timer - Destroy (Last created timer window)
-




Countdown Timer - Hide (Last created timer window) for Player 1 (Red)
-
-



Else - Actions
-
-


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



If - Conditions
-




((Triggering unit) is A Hero) Not equal to True
-
-



Then - Actions
-




Player - Add -150 to (Owner of (Killing unit)) Current gold
-




Player - Add 150 to (Owner of (Triggering unit)) Current gold
-
-



Else - Actions
-
-
-



