• Guest, we are doing a new map (refresh) for Herocraft. Gather your friends and get ready! Coming next Friday, 06/28/24 @ 7PM CT play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

Not a Bug Rounding Errors in HP calculations

Danda

Dungeon Master Extremist
Staff member
Administrator
Guide
Wiki Team
Max Legacy Supporter
Joined
Jan 21, 2011
So while working on the wiki yesterday I noticed that the HP values for max level didn't include the constitution HP bonuses so I sat down and started to calculate the correct values so I could update it and I noticed that what I was getting out the calculations wasn't matching what I was seeing in-game.

As a level 60 Bloodmage I have 1060HP without any equipment on.

Now a Bloodmage has 780 base HP and gains 1.75HP per level after level 1. Then has 22 endurance which should yield 7.75 HP per point.
So my HP should be:
780 + (1.75 x 59) + ( 7.75 x 22)
780 + 103.25 + 170.5 = 1053.75

What seems to be happening currently is that constitution seems to be rounding the 7.75 hp per point to 8hp per point and ontop of that rounding any decimal upwards. To test this theory I calculated several HP values of people who were online at the time to confirm the value changes (shown below).

This also works for my above bloodmage calculations (assuming heroes rounds 0.25 up)
780 + (1.75*59) + (8*22)
780 + 103.25 + 176 = 1059.25

level 44 bard - 986hp on live (confirmed by thewhizkids)
780 base
15 con
2hp per level

780 + (2*43) + (8*15)
780 + 86 + 120 = 986

level 37 wizard - Jonsoon 840hp
650 base
17 con
1.5hp per level

650 + (1.5*36) + (8*17)
650 + 54 + 136 = 840
 

Danda

Dungeon Master Extremist
Staff member
Administrator
Guide
Wiki Team
Max Legacy Supporter
Joined
Jan 21, 2011
Never mind ignore this post. spoke to kain and this was a change and not a rounding error.
 
Top