Skip to content

[ISSUE-9735] KF of Desctruction Calc Error#9752

Open
FenikSRT4 wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
FenikSRT4:issue-9735-kfod-hover-crash
Open

[ISSUE-9735] KF of Desctruction Calc Error#9752
FenikSRT4 wants to merge 1 commit intoPathOfBuildingCommunity:devfrom
FenikSRT4:issue-9735-kfod-hover-crash

Conversation

@FenikSRT4
Copy link
Copy Markdown

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
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.

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

Labels

None yet

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

1 participant