Skip to content

Fix crash when hovering over more damage calc breakdown for Kinetic Fusillade of Destruction#9752

Merged
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
FenikSRT4:issue-9735-kfod-hover-crash
Apr 13, 2026
Merged

Fix crash when hovering over more damage calc breakdown for Kinetic Fusillade of Destruction#9752
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
FenikSRT4:issue-9735-kfod-hover-crash

Conversation

@FenikSRT4
Copy link
Copy Markdown
Contributor

Fixes #9735

Description of the problem being solved:

Regenerates the skills because of a reference to KineticFusilladeOfDestruction instead of to KineticFusilladeAltX which is the proper key for the skill. This reference was causing errors for some of the hover tooltips in the calcs tab.

I'm unsure if I should have allowed all of the generated changes, or just the one I'm targeting, but I figure because they are generated this would be expected. I am using the latest build of PoE as of the time of creating this PR.

Steps taken to verify a working solution:

  • Create a new build with any wand and Kinetic Fusillade of Destruction
  • Go to Calcs tab
  • Verify all tooltips are working

Link to a build that showcases this PR:

Before screenshot:

See issue.

After screenshot:

image

* Regenerates the skills because of a reference to
  KineticFusilladeOfDestruction instead of to KineticFusilladeAltX which
  is the proper key for the skill. This reference was causing errors for
  some of the hover tooltips in the calcs tab.
-- This equals: X * (0 + 1 + 2 + ... + (n-1)) / n = X * n(n-1)/2 / n = X * (n-1)/2
local avgMoreMult = moreDamagePerProj * (output.ProjectileCount - 1) / 2
activeSkill.skillModList:NewMod("Damage", "MORE", avgMoreMult, "Skill:KineticFusilladeofDetonation", ModFlag.Hit)
activeSkill.skillModList:NewMod("Damage", "MORE", avgMoreMult, "Skill:KineticFusilladeAltX", ModFlag.Hit)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the change that actually fixes the issue.

Removed changes from exporting using the wrong game version
Also fix issue with Charged Dash of Projection
Copy link
Copy Markdown
Contributor

@LocalIdentity LocalIdentity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you exported the gem from the game files, you were not using the latest update, which is why it removed lines. Please make sure in the future that you only commit lines that are relevant to your PR
I found the same crash on Charged Dash of Projection so fixed that too

@LocalIdentity LocalIdentity added the crash Causes PoB to crash and is High Priority label Apr 13, 2026
@LocalIdentity LocalIdentity changed the title [ISSUE-9735] KF of Desctruction Calc Error Fix crash when hovering over more damage calc breakdown for Kinetic Fusillade of Destruction Apr 13, 2026
@LocalIdentity LocalIdentity merged commit fc1e5be into PathOfBuildingCommunity:dev Apr 13, 2026
3 checks passed
@FenikSRT4
Copy link
Copy Markdown
Contributor Author

When you exported the gem from the game files, you were not using the latest update, which is why it removed lines. Please make sure in the future that you only commit lines that are relevant to your PR I found the same crash on Charged Dash of Projection so fixed that too

My apologies. I didn't realize that I had to set up another "source" for generating the file after updating the game through Steam. I tested that out this morning to conform my mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crash Causes PoB to crash and is High Priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kinetic Fusillade of Detonation crash when hovering "MH Total More" with all projectiles option

2 participants