- Joined
- Jun 7, 2008
- Messages
- 440
I have a trigger that fires when a hero dies. It reduces gold by a certain amount. I also have a building for summoning units. There is a technique for this type of game that can reduce/eliminate the loss of gold by summoning units during the time of the hero's death and the cancelling the summons.
My question is, Is there a way to track this? It can be in GUI or JASS. I mean. When the hero dies > Player summons units before death> Cancels the summons to get his money back> {I wanted to track it So something like:}
My question is, Is there a way to track this? It can be in GUI or JASS. I mean. When the hero dies > Player summons units before death> Cancels the summons to get his money back> {I wanted to track it So something like:}
-
Set Shrine[player number of (owner of (dying unit))] = Shrine[player number of (owner of (dying unit))] + 1