Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Flat Reservation Rounding #4471

Conversation

Lothrik
Copy link
Contributor

@Lothrik Lothrik commented Jun 20, 2022

Flat reservation values in-game round to the nearest integer. In Path of Building we were rounding them to two decimal points, leading to invalid warning messages about reserving too much mana.

I tested this in-game and flat reservation values do in fact round, it's not truncated or floor/ceil.

Link to a build that showcases this PR:

https://pastebin.com/naUVAL39

Before screenshot:

After screenshot:

@Lothrik Lothrik added the bug Something isn't working label Jun 20, 2022
@LocalIdentity LocalIdentity added the bug: accuracy Wording differences label Jul 2, 2022
@LocalIdentity LocalIdentity merged commit d589882 into PathOfBuildingCommunity:dev Jul 2, 2022
@Lothrik Lothrik deleted the fix-flat-reservation-rounding branch July 11, 2022 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: accuracy Wording differences bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants