• 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.

Large Integers for Damage, Health, Hero Stats

Status
Not open for further replies.
Level 3
Joined
Jan 13, 2008
Messages
26
Sorry if someone has already asked this question but I searched and could not find any related threads...

How do you create an integer higher than 99,999 for Damage, HP, MP, Hero Stats etc. for a unit or item?

Thanks.
 
Level 9
Joined
Nov 28, 2008
Messages
704
By making an integer. Integers have a max of something like 2^32, far above 99,999. Damage and stuff above 99999 is quite impossible as far as I know in the WC3 engine, althougha custom damage system could negate that.

But lets be serious here. Why would you want higher? Just divide the damage of everything in your map by 10 if it has to go over.
 
Level 3
Joined
Jan 13, 2008
Messages
26
Yeah I am talking about for Custom Maps like Twilight RPG and SOL RPG. I want to make heroes and units do high amounts of damage, have high amount of mana, stuff like that.

How do I do that??
 
Level 3
Joined
Jan 13, 2008
Messages
26
Ok but specifically how? I don't know much about Triggers or Object Editing... I only want to do the same thing that I have seen in the RPG maps
 
Level 9
Joined
Dec 6, 2007
Messages
233
Try shift+clicking the values into the object editor. That typically allows you to go beyond the normal values. If this doesn't work...

You will need to store values for mana and health in a hashtable, and trigger all the damage. It's a complicated system, yes, and it will require a rework of all your current spells, attacks, etc. If you aren't a pro triggerrer, i don't suggest you try this.
 
Status
Not open for further replies.
Top