Repository navigation
Conversation
| end }, | ||
| { var = "conditionHaveAugyre", type = "list", label = "Augyre rotating buff:", ifFlag = "Condition:HaveAugyre", list = {{val="EleOverload",label="Elemental Overload"},{val="ResTechnique",label="Resolute Technique"}}, tooltip = "This option is specific to Augyre.", apply = function(val, modList, enemyModList) | ||
| -- The item's own modifier grants Resolute Technique when no buff is selected. | ||
| { var = "conditionHaveAugyre", type = "list", label = "Augyre rotating buff:", ifFlag = "Condition:HaveAugyre", list = {{val="ResTechnique",label="Resolute Technique"},{val="EleOverload",label="Elemental Overload"}}, tooltip = "This option is specific to Augyre.", apply = function(val, modList, enemyModList) |
There was a problem hiding this comment.
With the apply branch for ResTechnique removed, Condition:HaveResoluteTechnique is no longer set anywhere. Augyre's own line "100% increased Physical Damage while you have Resolute Technique" depends on that condition, so it stops applying: with Augyre (Current variant) and the dropdown on Resolute Technique, the build gets the Resolute Technique keystone from the item but 0% increased Physical Damage from that line, where the previous ResTechnique selection gave 100%. Builds that saved ResTechnique lose that bonus on load, and the new default shows Resolute Technique while its conditional mods are inactive. The condition would still need to be set when ResTechnique is selected, and also when no value is saved, since ConfigTab only calls apply for a saved list value.
In the PoB UI, with the same saved build (ResTechnique), before (dev 5606cc6) and after this PR (b385b45): Hit DPS 1,494.2 → 846.5, and the Augyre line no longer appears in the Physical increased breakdown.
AI-assisted review disclosure: This finding was identified during a review using Anthropic Claude and confirmed with a focused reproduction.
There was a problem hiding this comment.
Thanks for catching this, @mcagnion. I removed Condition:HaveResoluteTechnique because Augyre already grants the keystone, and missed that the 100% increased Physical Damage line checks that condition separately.
My test item didn't have that line, so the test didn't notice. It's fixed now, and the test uses the real Augyre from the item database, both with the default selection and with an old build that has Resolute Technique saved.
2614439 to
c52ce7e
Compare
Fixes #10431.
Description of the problem being solved:
With Augyre equipped, the config dropdown said Elemental Overload while PoB was actually applying Resolute Technique. Picking Elemental Overload also didn't survive a save, because the first entry of a list counts as the default and isn't written to the build.
Resolute Technique is now the first entry, which matches what the item gives you by default. Elemental Overload gets saved and only applies while Augyre is equipped.
One side effect: on dev the default selection never set the condition for Augyre's "100% increased Physical Damage while you have Resolute Technique", so that line did nothing. It applies now, so builds that left the dropdown alone will show more physical damage.
Steps taken to verify a working solution:
Before screenshot:
After screenshot: