Skip to content

Commit

Permalink
Allow DamageAlteration REs to have resolvable selectors (#15221)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonward committed Jun 24, 2024
1 parent e6a5208 commit e54b6a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class DamageAlterationRuleElement extends RuleElementPF2e<DamageAlterationSchema
if (this.ignored) return;

const alteration = new DamageAlteration(this);
for (const selector of this.selectors) {
for (const selector of this.resolveInjectedProperties(this.selectors)) {
const synthetics = (this.actor.synthetics.damageAlterations[selector] ??= []);
synthetics.push(alteration);
}
Expand Down

0 comments on commit e54b6a6

Please sign in to comment.