- Joined
- Mar 4, 2009
- Messages
- 1,156
How can i ADD 50 mana/health to unit every time some unit dies?
I know how to set mana but how can i add like 50 mana?
I can add 50 level to unit becouse there is a function "level of unit"
and than +50
But there is no function called "mana of unit" or "health of unit" there is only "percentage mana" or "percentage life",i actually want to count how much each player gived gold to enemyes but if u know this it would help.
_______________________________________________________________________________
every time some unit dies i need to add 50 mana or health to unit called "show gold gived to enemyes" if gold bounghty of dying unit is 50
_______________________________________________________________________________
I know how to set mana but how can i add like 50 mana?
I can add 50 level to unit becouse there is a function "level of unit"
and than +50
But there is no function called "mana of unit" or "health of unit" there is only "percentage mana" or "percentage life",i actually want to count how much each player gived gold to enemyes but if u know this it would help.
_______________________________________________________________________________
every time some unit dies i need to add 50 mana or health to unit called "show gold gived to enemyes" if gold bounghty of dying unit is 50
_______________________________________________________________________________
Last edited: