Refer to a Unit Type's Stats

Status
Not open for further replies.
Level 24
Joined
Oct 12, 2008
Messages
1,783
Im making a local upgrade system (eg. each time a Grunt is upgraded, it gains +20% max hp of the base number).
Is there an easy solution to retrieve the base hp of a unit type? (as opposed to a specific unit)

The sensible way to do this is to index the (life bonus per upgrade) for each unit type and refer from there, but Id like to know if there are other methods.
 
Status
Not open for further replies.
Top