Skip to content

Conversation

@LocalIdentity
Copy link
Contributor

Fixes #9011

Description of the problem being solved:

When using the Dance with Death keystone to have Critical Damage be lucky, it was not correctly showing the correct formula for Crit Damage
Crit Damage is handled in pass 1 so output.DamageRolls was being overwritten to 0 after pass 2 was done for non-crit damage calcs
So now we have a new variable just for Crit Damage rolls that cannot be overwritten and we use that for the breakdown

Steps taken to verify a working solution:

  • Test with and without Azadi's Crest
  • Test with unlucky hit damage

Link to a build that showcases this PR:

https://pobb.in/hGvQM_hqvpJE

Before screenshot:

image

After screenshot:

image

When using the Dance with Death keystone to have Critical Damage be lucky, it was not correctly showing the correct formula for Crit Damage
Crit Damage is handled in pass 1 so output.DamageRolls was being overwritten to 0 after pass 2 was done for non-crit damage calcs
So now we have a new variable just for Crit Damage rolls that cannot be overwritten and we use that for the breakdown
@LocalIdentity LocalIdentity added the bug: accuracy Wording differences label Oct 15, 2025
@Wires77 Wires77 merged commit c760972 into dev Oct 24, 2025
3 checks passed
@Wires77 Wires77 deleted the fix_dance-with-death-breakdown branch October 24, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: accuracy Wording differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong representation of calculation with triple lucky

3 participants