• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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