Skip to content

Fix Cryogenesis not working correctly#9603

Merged
LocalIdentity merged 1 commit intoPathOfBuildingCommunity:devfrom
Nostrademous:ChatGPT_Fixes
Mar 12, 2026
Merged

Fix Cryogenesis not working correctly#9603
LocalIdentity merged 1 commit intoPathOfBuildingCommunity:devfrom
Nostrademous:ChatGPT_Fixes

Conversation

@Nostrademous
Copy link
Contributor

I found four definite correctness bugs worth patching immediately. First, CalcActiveSkill.copyActiveSkill assigns activeEffect.gemData = skill.activeEffect.srcInstance.gemDat, which is a typo and should be gemData. That copied-skill path matters because CalcMirages uses calcs.copyActiveSkill(...) before running a recalculation for the mirage skill.

Second, ModStore.lua has a Lua precedence bug: not self.actor.output[stat] == nil is parsed as (not self.actor.output[stat]) == nil, so that branch is effectively dead. The intended condition is self.actor.output[stat] ~= nil. Because that code is in the ManaUnreserved fallback logic, it can suppress the negative-unreserved-mana recovery path.

Third, CalcsTab.lua has the same precedence bug in if modified.Minion and not selection.stat == "FullDPS" then. That should be selection.stat ~= "FullDPS". As written, the minion-switch branch is effectively never taken for normal string values.

Fourth, CalcOffence.lua has the same mistake again: if addedDamageRedirectType and not activeSkill.activeEffect.grantedEffect.name == "Elemental Hit" then. That should be activeSkill.activeEffect.grantedEffect.name ~= "Elemental Hit". In practice, that means the exclusion logic for Elemental Hit is not behaving as intended.

@LocalIdentity LocalIdentity added the technical Hidden from release notes label Mar 12, 2026
@LocalIdentity LocalIdentity merged commit 0dc91a1 into PathOfBuildingCommunity:dev Mar 12, 2026
3 checks passed
@Nostrademous Nostrademous deleted the ChatGPT_Fixes branch March 12, 2026 23:05
@LocalIdentity LocalIdentity changed the title Apply ChatGPT bug-fix corrections Fix Cryogenesis not working correctly Mar 13, 2026
@LocalIdentity LocalIdentity added bug: calculation Numerical differences and removed technical Hidden from release notes labels Mar 13, 2026
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.

2 participants