Skip to content

Fix Sublime Vision +1 max Frenzy charges mod not working with Masterful Form - #9442

Merged
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
Paliak:issue-9431
Feb 6, 2026
Merged

Fix Sublime Vision +1 max Frenzy charges mod not working with Masterful Form#9442
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
Paliak:issue-9431

Conversation

@Paliak

@PaliakPaliak commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

Closes#9431

Description of the problem being solved:

After #7186 doActorCharges is ran early to supply charge data to other logic in CalcPerform.lua #7328 added an extra override to improve max charge count display causing the pre-pass to set the override which is then not overwritten during the main charge calculation pass. This means that conditional maximum charge mods such as "+1 to Maximum Frenzy Charges while affected by Grace" which rely on conditions set after the charge pre-pass were not accounted for in the main pass. This pr simply uses the ReplaceMod function to replace the max charges override mod during the last/main pass.

Steps taken to verify a working solution:

  • Test cases mentioned in the issue

Link to a build that showcases this PR:

See issue

After PathOfBuildingCommunity#7186 doActorCharges is ran early to supply charge data to other
logic in CalcPerform.lua PathOfBuildingCommunity#7328 added an extra override to improve max
charge count display causing the pre pass to set the override which is
then not overwritten during the main charge calculation pass. This means
that conditional maximum charge mods such as "+1 to Maximum Frenzy Charges while affected by
Grace" which rely on conditions set after the charge pre-pass were not
accounted for in the main pass. This pr simply uses the ReplaceMod
function to replace the max charges override mod during the last/main
pass.
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
@PaliakPaliak added the bug: behaviour Behavioral differences label Jan 30, 2026
Signed-off-by: Paliak <91493239+Paliak@users.noreply.github.com>
@LocalIdentity
LocalIdentity merged commit d8c0b1d into PathOfBuildingCommunity:devFeb 6, 2026
3 checks passed
@LocalIdentityLocalIdentity changed the title Fix max charge override being set during charge pre-passFix Sublime Vision +1 max Frenzy charges mod not workingFeb 6, 2026
@LocalIdentityLocalIdentity changed the title Fix Sublime Vision +1 max Frenzy charges mod not workingFix Sublime Vision +1 max Frenzy charges mod not working with Masterful FormFeb 6, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: behaviourBehavioral differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Charge override not counting conditionals such from Sublime Vision

2 participants

@Paliak@LocalIdentity