Skip to content

Conversation

@LocalIdentity
Copy link
Contributor

@LocalIdentity LocalIdentity commented Sep 13, 2025

calcConvertedDamage was using the wrong order of variables for the function so it wasn't taking into account gained damage if a skill had innate conversion on it.
E.g. Skill has 50% convert phys to fire and tree has 20% elemental as extra lightning, it was not finding the fire damage that had been converted, so the ele as extra lightning was not giving any damage

Now that this was fixed though, it wasn't taking into account the proportion of damage converted from a skill when calculating gain as
e.g. 100% skill phys to fire stops mods like 20% phys as extra fire from working as there is no more base phys damage to scale from
Lastly, a bug that GGG fixed where damage mods that increased the maximum amount of a damage type (e.g. 30% more maximum phys) were affecting damage types after conversion
e.g. 100 to 100 phys damage skill with 30% more maximum phys and 100% skill phys to fire should have 100 to 100 fire damage, not 100 to 130 fire that PoB currently shows

I hope this is all the conversion issues fixed now
Test build:
https://maxroll.gg/poe2/pob/0yi7a0q2

Fixes #272, Fixes #1003, Fixes #1078

Before:
image

After:
image

calcConvertedDamage was using the wrong order of variables for the function so it wasn't taking into account gained damage if a skill had innate conversion on it.
E.g. Skill has 50% convert phys to fire and tree has 20% elemental as extra lightning, it was not finding the fire damage that had been converted so the ele as extra lightning was not giving any damage
Now that this was fixed though it was taking into account the proportion of damage converted from a skill when calculating gain as
e.g. 100% skill phys to fire stops mods like 20% phys as extra fire from working as there is no more base phys damage to scale from
Lastly was a bug that GGG fixed where damage mods that increased the maximum amount of a damage type (e.g. 30% more maximum phys) was affecting damage types after conversion
e.g. 100 to 100 phys damage skill with 30% more maximum phys and 100% skill phys to fire should have 100 to 100 fire damage, not 100 to130 that it was previously
I hope this is all the conversion issues fixed now
@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Sep 13, 2025
@LocalIdentity LocalIdentity merged commit b58702c into dev Sep 13, 2025
3 checks passed
@LocalIdentity LocalIdentity deleted the fix_damage-conversion branch September 13, 2025 17:56
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

3 participants