You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of float->int conversion rounding, units with specific max HP values can gain HP infinitely when picking up items, and performing other actions.
Description
see above
Additional Information
No response
Expected
No response
Actual
No response
Reproduction steps
Give a hero 475 base HP.
Give that hero 10% bonus HP through whatever means you prefer (I used a research upgrade).
Pick up any item (an item that disappears and gives you stats/resources when picked up, I used gold coins) OR learn a hero skill
If done right, your max hp should have been increased by 1. I’m assuming this works with other numbers as well.
Workaround
No response
Screenshots, test maps, other material
No response
The text was updated successfully, but these errors were encountered:
External URLs
https://us.forums.blizzard.com/en/warcraft3/t/hp-bonus-bug/30322
Game Versions
No response
Summary
Because of float->int conversion rounding, units with specific max HP values can gain HP infinitely when picking up items, and performing other actions.
Description
see above
Additional Information
No response
Expected
No response
Actual
No response
Reproduction steps
Give a hero 475 base HP. Give that hero 10% bonus HP through whatever means you prefer (I used a research upgrade). Pick up any item (an item that disappears and gives you stats/resources when picked up, I used gold coins) OR learn a hero skill If done right, your max hp should have been increased by 1. I’m assuming this works with other numbers as well.
Workaround
No response
Screenshots, test maps, other material
No response
The text was updated successfully, but these errors were encountered: