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 dps comparison not working correctly when using the saviour and using overrides #4635

Merged

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Jul 23, 2022

Fixes #4631 .

Description of the problem being solved:

Overrides were not propagating through the call to initEnv in copyActiveSkill which was causing issues with dps comparison. Fixing that issues caused dps comparison to only work correctly when an odd number of skills was selected for full fps due to flask toggles being applied multiple times to a single env instance because of caching in calcs.calcFullDPS. Toggling flasks only when a cached env is not present seems to resolve the issue.

Steps taken to verify a working solution:

  • Tested with and without The Saviour and got expected behavior

@QuickStick123 QuickStick123 added the bug Something isn't working label Jul 23, 2022
@LocalIdentity LocalIdentity merged commit d004746 into PathOfBuildingCommunity:dev Dec 8, 2022
@Paliak Paliak deleted the initEnvOverrideFix branch January 20, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Effects of activating a flask aren't shown on mouseover with Saviour Clones active in Full DPS
3 participants