Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Automaton Reinforced Chassis feat broken with potency runes #18362

Closed
Antmanton opened this issue Feb 26, 2025 · 0 comments · Fixed by #18489
Closed

[Bug] Automaton Reinforced Chassis feat broken with potency runes #18362

Antmanton opened this issue Feb 26, 2025 · 0 comments · Fixed by #18489

Comments

@Antmanton
Copy link

ItemAlteration in upgrade mode does not seem to be playing nice with armor potency rules on this item. Only the larger bonus applies with the out-of-the-box RE:

{
    "itemId": "{item|flags.pf2e.itemGrants.reinforcedChassis.id}",
    "key": "ItemAlteration",
    "mode": "upgrade",
    "property": "ac-bonus",
    "value": "ternary(gte(@actor.level,10),5,ternary(gte(@actor.level,5),4,3))"
}

Changing the ItemAlteration RE from upgrade to add like so produces the expected result:

{
    "itemId": "{item|flags.pf2e.itemGrants.reinforcedChassis.id}",
    "key": "ItemAlteration",
    "mode": "add",
    "property": "ac-bonus",
    "value": "ternary(gte(@actor.level,10),2,ternary(gte(@actor.level,5),1,0))"
}
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 a pull request may close this issue.

1 participant