Skip to content

Fix calculation of inverted Resistances when having a source of Penetration#2177

Merged
LocalIdentity merged 1 commit into
devfrom
fix_invert-res
Jun 13, 2026
Merged

Fix calculation of inverted Resistances when having a source of Penetration#2177
LocalIdentity merged 1 commit into
devfrom
fix_invert-res

Conversation

@LocalIdentity

@LocalIdentity LocalIdentity commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #2133

Description of the problem being solved:

The calculation for inverted res was handled incorrectly, where it was applying an average reduction to the resistance value and then we were applying pen on top of that
We now calculated the average res based on the chance to invert and the impact of pen

Link to a build that showcases this PR:

https://maxroll.gg/poe2/pob/w511ad0w

Before screenshot:

image

After screenshot:

image

The calculation for inverted res was handled incorrectly where it was applying an average reduction to the resistance value and then we were applying pen on top of that
We now calculated the average res based on the chance to invert and the impact of pen
@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Jun 12, 2026
@LocalIdentity LocalIdentity changed the title Fix calculation of inverted Resistances when having a source of Pen Fix calculation of inverted Resistances when having a source of Penetration Jun 12, 2026
@LocalIdentity LocalIdentity merged commit 96c9665 into dev Jun 13, 2026
5 checks passed
@LocalIdentity LocalIdentity deleted the fix_invert-res branch June 13, 2026 00:58
bct8925 pushed a commit to bct8925/PathOfBuilding-PoE2 that referenced this pull request Jun 19, 2026
…athOfBuildingCommunity#2177)

The calculation for inverted res was handled incorrectly where it was applying an average reduction to the resistance value and then we were applying pen on top of that
We now calculated the average res based on the chance to invert and the impact of pen

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
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.

Dimensional Weakspot passive not calculated properly alongside penetration

1 participant