Closed mightyteapot closed 8 months ago
If we round the intermediates the final sum wont match and that would certainly be awkward aswell. Before i go ahead and try to figure it out myself, do we know if the game actually rounds each value or keeps track of the fractions internally? Both could reasonably be true as the game never shows you the individual stat sources like this.
I checked this, rounded values are used for all purposes in game, the values currently displayed by ttjs are therefore slightly incorrect.
I replicated this build in game exactly: https://beta.hardstuck.gg/gw2/builds/necromancer/boonstrip-scourge/
In game:
In ttjs:
(Jade bot is accounting for extra vitality) (Armor reinforce is also increasing hp and armor by 5%)
We are getting the correct number now, but that means the game doesn't track the sharpening stone, as we also don't do that right now.
Looks like stone was missing in my screenshot, with stone the power value is 2692
Alright, then it's no question about how we should handle this. Its just #72 #71
Numbers pertaining to builds such as attribute values should probably be rounded, attributes are rounded in the game as there is no concept of 0.7 power etc.![image](https://github.com/HardstuckGuild/Tooltips.js/assets/46613591/f59b6566-8446-454d-be96-2c5197bf328f)