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

Modify attribute lower than 1.

Status
Not open for further replies.
Level 11
Joined
Nov 15, 2007
Messages
800
Simple question: How do I modify a hero attribute lower than 1? Using the GUI function "Modify Hero Attribute" won't bring them to 0 or a negative number through subtraction or directly setting the attribute to 0/-.
 
Level 4
Joined
Oct 20, 2011
Messages
129
impossible. it will crash

211556-albums5144-picture58056.png
 
Level 10
Joined
May 27, 2009
Messages
495
yeah it's possible but not for long.. because it may crash.. either when the unit dies (not most of the time) or some other stat manipulation.. i guess

usually when the stat is below the hero's default stats of hp/dmg/mp whatsoever set through the object editor.. it will crash.. but not that 100% to happen though

and negatives usually happen through fail math or force change of stat through the natives..

i have tried this one.. but not for too long..
 
Level 4
Joined
Oct 20, 2011
Messages
129
I played with negative attribute in 30 minutes without crash.
Negative STR: Unit die after cast skill, attack, be attacked...
Negative AGI: Really slow attack, but it is still able to attack.
Negative INT: Mana always be 0/0
Negative main attribute: Damage 0 ~ 0
 
Level 2
Joined
Dec 4, 2010
Messages
23
You need to allow negative values in
File --> Preferences

Then before you double-click what you want push shift then open it.

Type in -1 or w/e and go OK or w/e it is, then it will say -1 or w/e it is.

Solved or solved?

(I can't say this will make it not crash.)
 
Level 11
Joined
Nov 15, 2007
Messages
800
You need to allow negative values in
File --> Preferences

Then before you double-click what you want push shift then open it.

Type in -1 or w/e and go OK or w/e it is, then it will say -1 or w/e it is.

Solved or solved?

(I can't say this will make it not crash.)

It's already solved. And what you described only works for the object editor.
 
Status
Not open for further replies.
Top