Skip to content

Fix for Chieftain resist nodes applying effects twice due to Foulborn Choir of the Storm#9643

Merged
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
EminGul:fix-valako-double-apply
Apr 17, 2026
Merged

Fix for Chieftain resist nodes applying effects twice due to Foulborn Choir of the Storm#9643
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
EminGul:fix-valako-double-apply

Conversation

@EminGul

@EminGul EminGul commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

Fixes #9481 .

Description of the problem being solved:

Foulborn Choir of the Storm's increased mana by overcapped lightning resist mod causes resistance conversion mods, such as Taslio, Cleansing Water, to apply twice in calculations.

This is due to how Foulborn Choir of the Storm is handled in the calculations. Since it calls the resistance, mana and reservation calculations again, it adds resistance conversion mods twice as well.

Fix just adds a flag so resistance conversion mods aren't processed twice on accident.

Steps taken to verify a working solution:

  • Check resists are accurate: ~25,000 fire resistance with ~12,500 lightning and cold resistance
  • Check Max res granted by Valako, Storm's Embrace is not double applying to cold/lightning resist
  • Check Mana to Energy Shield no longer double applying and matches with user report
  • Check Transfiguration of Mind applies half the increased damage (in config)
  • Check if non-Foulborn Choir builds have resist/max res from Chieftain nodes works properly

Link to a build that showcases this PR:

https://pobb.in/5cSHvaw15MUI (Screenshots based off this PoB)

https://pobb.in/V41O4IvnojAr (extra case, ES aligns with user report but I'm uncertain mana is accurate as they're saying the in-game UI is bugged. The increased mana aligns with what they're reporting.)

Before screenshot:

fix-tasalio-choir-before

After screenshot:

fix-tasalio-choir-after

EminGul and others added 2 commits March 15, 2026 13:21

@LocalIdentity LocalIdentity left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I changed it to use a fake actor and also added a test in case this breaks again in the future

@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Apr 17, 2026
@LocalIdentity LocalIdentity merged commit 91aa548 into PathOfBuildingCommunity:dev Apr 17, 2026
3 checks passed
@EminGul EminGul deleted the fix-valako-double-apply branch April 19, 2026 02:35
mauriceco2424 added a commit to mauriceco2424/PathOfBuilding that referenced this pull request Jun 16, 2026
Key changes:
- Imbued Supports system (PathOfBuildingCommunity#9670) — replaces alternate quality code (PathOfBuildingCommunity#9758),
  with follow-up fixes for gem list visibility (PathOfBuildingCommunity#9782, PathOfBuildingCommunity#9796), trigger
  supports (PathOfBuildingCommunity#9793), and indexing bugs (PathOfBuildingCommunity#9763). This is the in-league
  replacement for Awakened gems and changes how transfigured supports
  scale.
- Calc fixes wave: skills that can repeat (PathOfBuildingCommunity#9723), Vaal Flameblast base
  AoE (PathOfBuildingCommunity#9704), Generals Cry clones restricted by attack time, Maven
  Memory Game damage (PathOfBuildingCommunity#9757), Hextoad breakdown (PathOfBuildingCommunity#9683), CwC crash with
  multiple link groups (PathOfBuildingCommunity#9682), Searing Bond of Detonation power charges
  (PathOfBuildingCommunity#9695), Tinctures applying without Mana (PathOfBuildingCommunity#9769), Ghost Reaver leech
  with Life Leech sources (PathOfBuildingCommunity#9774), Poisonous Concoction added damage
  from disabled life flasks (PathOfBuildingCommunity#9339), Blade Blast of Dagger Detonation
  Varunastra counting (PathOfBuildingCommunity#9733), converted damage with poison stacks
  (PathOfBuildingCommunity#8991), Chieftain resist nodes Foulborn Choir double-apply (PathOfBuildingCommunity#9643),
  Turbulent catalyst flat lightning scaling (PathOfBuildingCommunity#9775), some buffs applying
  to player and minions wrongly (PathOfBuildingCommunity#9789), negative eHP and NaN Max hit
  (PathOfBuildingCommunity#9772), Dual Wield mastery thrusting+non-thrusting (PathOfBuildingCommunity#9761).
- Ring slot 3 fixes (PathOfBuildingCommunity#9686, PathOfBuildingCommunity#9730) — mods applying when Unseen Hand
  isn't allocated.
- Build comparison tab (PathOfBuildingCommunity#9543) — pure UI, headless mode unaffected.
- New spectres: Conjuror of Rot (PathOfBuildingCommunity#9702), Unholy Aberration (PathOfBuildingCommunity#9731).
- Trader improvements (PathOfBuildingCommunity#9691), Watcher's eye trade search (PathOfBuildingCommunity#9649),
  duplicate-search fix (PathOfBuildingCommunity#9767), stale state guard (PathOfBuildingCommunity#9742).
- Lesson of Seasons spell barkskin mod (PathOfBuildingCommunity#9820).
- Lingering Blades extends to Animate Weapon of Ranged Arms.
- Runtime DLLs bumped to SimpleGraphic v2.5.3 (PathOfBuildingCommunity#9395) — affects desktop
  PoB UI only; headless API runtime is the bundled LuaJIT.
- Releases 2.64.0 and 2.65.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: calculation Numerical differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Valako, Storm's Embrace and Tasalio, Cleansing Water Ascendancy nodes applying effects twice

2 participants