Skip to content

Fix additive aura magnitude scaling for banners - #2612

Open
jhsc5 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
jhsc5:fix/2532-banner-aura-magnitude
Open

jhsc5 wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
jhsc5:fix/2532-banner-aura-magnitude

Conversation

@jhsc5

@jhsc5 jhsc5 commented Dec 2, 2026 •

Copy link
Copy Markdown

Fixes #2532.

Description of the problem being solved

Banner-specific Aura Magnitudes and generic skill Magnitudes were applied as separate multipliers. Banners now add the applicable increased and reduced modifiers before multiplying the more and less modifiers. The Calcs display and the applied aura use the same rule.

Steps taken to verify a working solution

  • Imported the reporter's build in the Windows desktop app, selected Dread Banner in Calcs, and used Effective DPS mode. The same build displays ×2.88 before and ×2.46 after. Its sum is 1 + (39 + 107) / 100 = 2.46.
  • With controlled modifiers, all three banners give ×1.70 from 50% global and 20% banner-specific increases. Verified the armour modifier applied by Defiance Banner, a separate more modifier, and unchanged Discipline scaling.
  • The original code fails five of the six new checks. All 54 system spec files passed after the fix with Busted 2.2.0 and the bundled LuaJIT on Windows (917 tests, zero failures or errors).

Link to a build that showcases this PR

Reporter's Dread Banner build

Before screenshot

PoB2 Calcs showing Dread Banner Aura Effect Mod ×2.88 before the fix

Full screenshot

After screenshot

PoB2 Calcs showing the same Dread Banner build at Aura Effect Mod ×2.46 after the fix

Full screenshot

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.

Banner Aura Effect increased mod is calculated as a multiplier instead of additive with global Aura Effect

1 participant