Skip to content

Fix Energy Shield crash for secondary minions - #10647

Closed
CyanBalloon wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
CyanBalloon:fix-minion-energy-shield
Closed

CyanBalloon wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
CyanBalloon:fix-minion-energy-shield

Conversation

@CyanBalloon

Copy link
Copy Markdown

Description of the problem being solved

When a secondary minion receives redirected damage, its Energy Shield calculation reads the main skill's minion. This crashes when the main skill has no minion, and it can use the wrong level or life table when the main skill has a different minion.

Use the minion being initialized and its summoning skill to select the life table and level.

Steps taken to verify a working solution

  • Reproduced the crash with Fireball as the main skill and a secondary Ribrattle Spectre receiving redirected damage.
  • Added a regression test that verifies the Spectre's base Energy Shield and that its Life is available for damage redirection.
  • Ran 57 defence and minion tests successfully with the bundled Windows LuaJIT and a local test runner.

@CyanBalloon

Copy link
Copy Markdown
Author

Closing as a duplicate of #10571 and #10643. Both PRs already address the same crash when calculating Energy Shield for a secondary minion.

@CyanBalloon CyanBalloon closed this Dec 1, 2026
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.

1 participant