PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

infinity result in effective hit pool calculation

Open DracheTek opened this issue 2 years ago • 1 comments

Check version

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

Check for duplicates

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

What platform are you running Path of Building on?

Windows

How is Path of Building expected to behave?

When armor reach a certain threshold, the calculation of "effective hit pool" would have "infinite" result.

How does Path of Building behave?

Checked the step by step calculation, the mitigated damage is around 300, the mitigate rate(come from block) is around 40%, the result should be around 60000.

How to reproduce the issue

create build from the following link and the problem should reproduce itself

Character build code

https://pobb.in/__4B0EuMlCjk

Screenshots

No response

DracheTek avatar Jul 27 '24 05:07 DracheTek

If you disable gain on block the calcs seem correct 4247 pool, 390.33 taken = 10.88 hits before death (same as PoB), 43% unmitigated after block 10.88/0.43 = 25.30 (close to PoBs 25.3, error due to rounding)

with es on block you are taking 167.8419 damage on average and gaining 239 es and 41 life, so you will never die either disable gain on block or actually configure the enemy to do a proper amount of damage (eg even setting it to a boss, even with aegis you only have 20k ehp, let alone vs a much higher hit)

Regisle avatar Jul 27 '24 05:07 Regisle