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 order of calcs for afflication charges #6801

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Oct 11, 2023

Fixes #6788

Description of the problem being solved:

Due to affliction charge mods being added after ailment calcs, effect mods from affliction charges were not taken in account.

This pr moves affliction charge mods block into the doActorMisc func and moves the calls for player and minion actors above the ailment calcs. While to my current understanding this should not break anything it should be tested at least a bit more before merging.

Steps taken to verify a working solution:

  • Test build from issue.

@Paliak Paliak added the bug: calculation Numerical differences label Oct 27, 2023
@LocalIdentity LocalIdentity merged commit c4b87b6 into PathOfBuildingCommunity:dev Dec 1, 2023
LocalIdentity pushed a commit that referenced this pull request Dec 5, 2023
The block was moved in #6801 and this caused the code to not run in time
LocalIdentity added a commit that referenced this pull request Dec 5, 2023
The block was moved in #6801 and this caused the code to not run in time

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
@Paliak Paliak deleted the fixAfflictionChargesCalcOrder branch January 20, 2024 15:16
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.

Olesya's Delight doesn't affect Scorch from Legacy of Fury
2 participants