- Joined
- Oct 27, 2008
- Messages
- 1,176
-
Gold NonHero
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to False
-
-
Actions
-
Set Gold = ((Integer((Max life of (Triggering unit)))) / (Random integer number between 10 and 100))
-
Player - Add Gold to (Owner of (Killing unit)) Current gold
-
Game - Display to (All players matching ((Owner of (Killing unit)) Equal to Player 1 (Red))) the text: (+ + ((String(Gold)) + Gold))
-
Game - Display to (All players matching ((Owner of (Killing unit)) Equal to Player 2 (Blue))) the text: (+ + ((String(Gold)) + Gold))
-
Game - Display to (All players matching ((Owner of (Killing unit)) Equal to Player 3 (Teal))) the text: (+ + ((String(Gold)) + Gold))
-
Etc
-
-
Everytime someone kills a unit every player gets a message saying they earned X amount of gold.
(I didn't add in the past part of the trigger
I need it to just message the owner of the Killing Unit