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

Fixed monster explosion ignite divide by 0 calculation error #7954

Conversation

NL908
Copy link
Contributor

@NL908 NL908 commented Jul 25, 2024

Fixes #7912.

Description of the problem being solved:

There are some divisible-by-0 calculation errors for monster explosions (such as chieftain, occultist, and gladiator ascendency). The "On Kill Monster Explosion" skill seems to have a cast time of 0, and causes some stats to be nan or inf.
When the ignite duration is 0 seconds, the ignite DPS becomes inf, thus reaching dot cap.

I'm worried that the 0 cast speed for monster explosions would cause any other existing or future issues, but here's the bandage fix for the ignite problem caused by it.

Steps taken to verify a working solution:

  • Any explosion effect (from gear or ascendency) that has fire damage
  • See Calc tab for ignite details

Link to a build that showcases this PR:

https://pobb.in/dbGiJENwcvZX

Before screenshot:

image

After screenshot:

image

@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Jul 26, 2024
@LocalIdentity LocalIdentity merged commit 122c5e0 into PathOfBuildingCommunity:dev Jul 26, 2024
2 checks passed
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.

Double Replica Emberwake on a Chieftain Explosion Ignite goes very wrong
2 participants