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

replaced unit dies immediately

Status
Not open for further replies.
Level 12
Joined
Jan 13, 2008
Messages
559
When using an item, a hero gets replaced by another hero. There are hitpoint upgrades for the hero and when the upgraded hitpoints are twice as high as the heroes default hp, the replaced unit immediately dies when using the item.

Example:
Starter Hero, 100 HP, 0 Upgrades
then I upgrade 100 times the hitpoint upgrade so the hero has 200 HP. Now I use the item and the hero gets replaced and immediately dies. Why?
Both heroes use the hitpoint upgrade...i also tried to replace with different values (old units relative life, new units default, new units max life etc) nothing works
 
Level 23
Joined
Dec 4, 2007
Messages
1,558
Actually they can stack up, if you use a little trickery:

If you want to add x maximum health, you would need the "item life bonus" ability with 2 levels, level 1 = x health, level 2 = 0 health.

Simple add this ability to the desired unit/hero, level it up and remove it. The bonus of its level 1 value remains permanently and you can stack the same ability over and over.
 
Level 12
Joined
Jan 13, 2008
Messages
559
Actually they can stack up, if you use a little trickery:

If you want to add x maximum health, you would need the "item life bonus" ability with 2 levels, level 1 = x health, level 2 = 0 health.

Simple add this ability to the desired unit/hero, level it up and remove it. The bonus of its level 1 value remains permanently and you can stack the same ability over and over.
oh thats nice. I remember it works also with mana. thanks for the reminder
 
Level 12
Joined
Jan 13, 2008
Messages
559
thanks but I found a better and much easier way!! I found a fix to the above mentioned bug!

Give the hero a max hp of 9999999 (just make sure this value can never be crossed), then give the player a hitpoint upgrade which decreases the hitpoints by X so your hero will have the desired base hitpoints. Then you can use the upgrade which gives hp..completely normal..replacing the unit wont kill anything then.
 
Status
Not open for further replies.
Top