Skip to content

Fix rounding of scaled damage conversion percentages - #10263

Open
LocalIdentity wants to merge 2 commits into
devfrom
fix_conversion-calc
Open

Fix rounding of scaled damage conversion percentages#10263
LocalIdentity wants to merge 2 commits into
devfrom
fix_conversion-calc

Conversation

@LocalIdentity

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

Fixes 2 issues
The game rounds every scaled conversion destination to a whole percentage point before summing the converted amount.
e.g. Three 40% conversions become 33%, 33%, and 33% instead of the 33.33% PoB currently uses

Only round converted damage at the end instead of the start of the calculation path. This prevents each recursive conversion step from creating or losing damage values.

Link to a build that showcases this PR:

https://maxroll.gg/poe/pob/rj6khq0i

Before screenshot:

image

After screenshot:

image

LocalIdentity and others added 2 commits August 21, 2026 17:58
The game rounds every scaled conversion destination to a whole percentage point before summing the converted amount.
e.g. Three 40% conversions become 33%, 33%, and 33% instead of the 33.33% PoB currently uses
Only round converted damage at the end instead of the start of the calculation path. This prevents each recursive conversion step from creating or losing damage values.
@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: calculation Numerical differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant