I want a building to be sold for it's price minus it's damage, but i realised there was no "maximum health points" and "current health points" unit option.
Actions:
[player - add property]
Add (point value of (researching unit)
- ([maximum health points of (researching unit)]
- [current health points of (researching unit])
Player - Add (((Point-value of (Triggering unit))
- (Integer((Max life of (Triggering unit)))))
- (Integer((Life of (Triggering unit))))) to Player 1 (Red) Current gold