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 formless inferno not increasing minion life #7370

Merged
merged 1 commit into from Mar 9, 2024

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Mar 2, 2024

Fixes #6149

Description of the problem being solved:

Increased life modifier per over-cap fire res from The Formless Inferno did not apply as minion life was calculated before resistances. This pr moves the calculation of minion life into calcs.defence right under the resistance calculations. The values calculated by doActorLifeMana doActorLifeManaReservation are not used by code above where the calls were moved so this should not affect any other interactions. I understand this is not great code quality wise but i can't think of any other way of fixing this without moving either the functions calls (this pr) or resistance calculations (#6663) and out of the two i think this is a better solution.

My tests tooling (#7162) confirms no changes to output values (Note lack of Output diff sections. Bunch of noise due to the build xml compare. Still haven't really figured out a good solution for that.)
artefact.md

Link to a build that showcases this PR:

https://pobb.in/nlI569A3wZc0

Before screenshot:

obraz

After screenshot:

obraz

@LocalIdentity LocalIdentity merged commit 6ec330f into PathOfBuildingCommunity:dev Mar 9, 2024
2 checks passed
@Paliak Paliak deleted the issue-6149 branch March 10, 2024 20:58
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.

The Formless Inferno minion life from overcapped fire res isn't in the final calculation
2 participants