foundryvtt / pf2e

A community contributed game system for Pathfinder Second Edition.
https://foundryvtt.com/packages/pf2e
Apache License 2.0
423 stars 352 forks source link

Oath of the Defender resistance #17428

Open Qenthel94 opened 2 days ago

Qenthel94 commented 2 days ago

Oath of defenders reads: "Allies in your champion's aura, not including you, get resistance 2 to damage dealt by creatures with the chosen trait. If such a creature deals more than one damage type at once, apply this resistance only to the highest amount of damage."

But it seems to behave like a regular resistance in foundry, getting applied to all damage types. image

pedrogrullada commented 1 day ago

This is a limitation on the resistance rule element right now, a custom resistance can only be treated as a resist all of things that meet the criteria. To be honest, I missed the part where it specifies how it applies to the highest amount of damage, otherwise I would've simply not implemented this.