Skip to content

Conversation

@OriginalThing
Copy link
Contributor

@OriginalThing OriginalThing commented Dec 16, 2025

Fixes #9358

Description of the problem being solved:

Radiant Faith was not calculating armour and energy shield correctly when using a Foulbourn Choir of the Storm, as resistances were not calculated before mana and GrantReservedManaAsAura are calculated. I've refactored the resistance calcs into a separate function delayed the aura calculation to the latest possible instance and call the resistance to be calculated before recalculating the mana and reserved mana, when the mana is increased by x% of overcapped lightning resistance mod exists. Also reverts 06f7a74 as it's no longer required

Steps taken to verify a working solution:

  • Import PoB (linked below)
  • Compare the numbers to the With Choir of the Storm screenshots
  • Swap Amulet to Eyes of the Greatwolf
  • Compare the numbers to the With Greatwolf screenshots

Link to a build that showcases this PR:

https://pobb.in/jQdfX_LgQW2w
With Choir of the Storm
image
image

With Greatwolf
image
image

Also tested using the PoB provided in #9350 (comment) (The number I get is off by 19 so may need another PoB to verify, but way closer than before)

Before screenshot:

With Choir of the Storm

image

With Greatwolf

image

After screenshot:

With Choir of the Storm

image

With Greatwolf

image

Other PoB:

Before screenshot:

image

After screenshot:

image

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.

Radiant Faith has the wrong armour calculation when using Foulborn Choir of the Storm

1 participant