PathOfBuilding
PathOfBuilding copied to clipboard
Add mod parsing support for 3.26 Vile Bastion
Description of the problem being solved:
Implements support for the upcoming custom mod on the new version of Vile Bastion in 3.26:
ESRegen/sec was already supported, but es per spell block was not (at least that I found)
Hope the flag name is okay, could also be changed from
MaximumEnergyShieldIncreasedByChanceToBlockSpellDamage -> EnergyShieldIncreasedByChanceToBlockSpellDamage
if preferred!
Steps taken to verify a working solution:
- Validated with 0 intelligence character that energy shield is correctly impacted by the custom mod with both item based es and custom config es/spell block mods
- Checked for no crashed in the calcs breakdown section to confirm the source is mapped correctly
- Added unit tests for the calculation based on the baseline build with 75% spell block cap
Link to a build that showcases this PR:
https://pobb.in/MbdcjsAu3trY
Before screenshot:
With 50% spell block staff and 100 ES boots (as per linked build)
After screenshot:
With 50% spell block staff and 100 ES boots (as per linked build)