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 fullDPS having signifcantly larger numbers on second pass #5317

Merged
merged 2 commits into from
Dec 14, 2022

Conversation

QuickStick123
Copy link
Contributor

@QuickStick123 QuickStick123 commented Dec 13, 2022

Fixes #5258 #4982

Description of the problem being solved:

preDamageFunc and other similar gem functions were getting called twice between comparisons, it uses previous dpsMultiplier in calculations this resulted in the numbers being ^2 on the second calculation always making every node seem more powerful then it should. This fixes it so it always wiped so this assumption / reuse of stacking multipliers is fine.

Steps taken to verify a working solution:

image
image

Link to a build that showcases this PR:

https://pobb.in/TfhBprEH-M3D

@QuickStick123 QuickStick123 added the bug Something isn't working label Dec 13, 2022
@QuickStick123 QuickStick123 changed the title Always wipe dpsMultiplier between calculations Always rebuild skillData if accelerate skill is set to true to avoid iterative calculations. Dec 13, 2022
@QuickStick123 QuickStick123 changed the title Always rebuild skillData if accelerate skill is set to true to avoid iterative calculations. Fix fullDPS having signifcantly larger numbers on second pass Dec 13, 2022
@Wires77 Wires77 merged commit 853fcbf into PathOfBuildingCommunity:dev Dec 14, 2022
@QuickStick123 QuickStick123 deleted the fix-power-report branch December 14, 2022 04:55
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.

Certain skills cause node power to display all red
2 participants