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 Rigwald's Curse damage conversion with specific claw mods #7037

Conversation

Peechey
Copy link
Contributor

@Peechey Peechey commented Dec 14, 2023

Fixes #7036

Description of the problem being solved:

Rigwald's Curse damage conversion was looking specifically for ModFlag Claw. However, claw damage mods such as "with claws" create a ModFlag of Claw, Hit with no KeywordFlag, whereas something like "Claw Attacks deal increased..." mods create a ModFlag of Claw and KeywordFlag of Hit.

So this PR has the damage conversion check for ModFlag of Claw, Hit instead, which I assume is safe because the CritChance conversion below it does the same thing at line 595. Although I wonder if this should also add the Attack flag as well, like attack speed does? Unsure if it needs it.

Link to a build that showcases this PR:

https://pobb.in/lxBbDeFJcbsE

Before screenshot:

image
image
image

After screenshot:

image
image
image

@Peechey Peechey added the bug: calculation Numerical differences label Dec 14, 2023
@LocalIdentity LocalIdentity merged commit 85f6beb into PathOfBuildingCommunity:dev Dec 16, 2023
@Peechey Peechey deleted the fix/damage_with_claws_and_Rigwalds_Curse branch January 4, 2024 18:46
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.

Increased Damage With Claws on jewels doesn't work on Facebreaker builds using Rigwalds Curse
2 participants