• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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