I was wondering if there was a way to give a hero an exact amount of experience after he/she kills a building. I was reading on other threads and found this:
1.) set point value of units to number of experience
2.) a new trigger
event:
a unit dies
condition:
owner of dying unit is an enemy of owner of killing unit equal to true
action:
add point-value of dying unit to killing unit
So I did this, but it doesn't seem to work when my hero destroys a building which was my original intention. Any help would be greatly appreciated.
1.) set point value of units to number of experience
2.) a new trigger
event:
a unit dies
condition:
owner of dying unit is an enemy of owner of killing unit equal to true
action:
add point-value of dying unit to killing unit
So I did this, but it doesn't seem to work when my hero destroys a building which was my original intention. Any help would be greatly appreciated.