Skip to content

Dimensional Weakspot passive not calculated properly alongside penetration #2133

@McFrugal

Description

@McFrugal

Check version

  • I'm running the latest version of Path of Building and I've verified this by checking the changelog

Check for duplicates

  • I've checked for duplicate open and closed issues by using the search function of the issue tracker

Check for support

  • I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).

What platform are you running Path of Building on?

Windows

What is the value from the calculation in-game?

Dimensional Weakspot triggers 15% of the time and inverts enemy weaknesses. While those weaknesses are negative, penetration doesn't apply. 85% of the time, penetration applies. Thus, the damage multiplier calculation for 35% penetration against an enemy with 50% resistance is:
15%(1.5) + 85%(0.85) = 0.9475

At least, I'm fairly sure the inversion happens first? But even if it happens after penetration, it doesn't add up to 1.

What is the value from the calculation in Path of Building?

Path of Building seems to calculate the average resistances first, so that on average an enemy with 50% has 35% resistance with the passive. Then it applies penetration, which results in a value of 1.

Also it doesn't display that calculation when the end result is 1; it omits them.

How to reproduce the issue

No response

PoB for PoE2 build code

https://pobb.in/xaCkR1jc6SCN

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions