Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple instances of 'x stat is increased by overcapped y resistance' stacking #6299

Conversation

Lilylicious
Copy link
Contributor

Fixes #3826

Description of the problem being solved:

Modifiers that increase a stat by another stat do not stack. This includes not just overcapped/uncapped resistance modifiers (formless flame), but also modifiers like crit chance is increased by spell suppression chance. These are all binary modifiers, they're either active or not, having two isn't any different from having one.

Steps taken to verify a working solution:

  • Added all relevant modifiers to custom modifiers box
  • Checked each modifier if having two of it made any difference to having one

Link to a build that showcases this PR:

https://pobb.in/nYecxuBBG_K2

@QuickStick123 QuickStick123 added the bug: calculation Numerical differences label Aug 9, 2023
@LocalIdentity LocalIdentity changed the title Don't stack over/un-capped/by-other-stat modifiers Fix multiple instances of 'x stat is increased by overcapped y resistance' stacking Aug 13, 2023
@LocalIdentity LocalIdentity merged commit fa5a58f into PathOfBuildingCommunity:dev Aug 13, 2023
2 checks passed
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.

Multiple instances of 'Armour is increased by overcapped fire resistance' do not stack in game
3 participants