Skip to content

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