Skip to content

Commit

Permalink
[#3248] Fix only damage application option not working
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Mar 18, 2024
1 parent 49468fc commit a334960
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/documents/actor/actor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,9 @@ export default class Actor5e extends SystemDocumentMixin(Actor) {
};

const skipped = type => {
if ( only === "damage" ) return type in CONFIG.DND5E.healingTypes;
if ( only === "healing" ) return type in CONFIG.DND5E.damageTypes;
return true;
if ( options.only === "damage" ) return type in CONFIG.DND5E.healingTypes;
if ( options.only === "healing" ) return type in CONFIG.DND5E.damageTypes;
return false;
};

const rollData = this.getRollData({deterministic: true});
Expand Down

0 comments on commit a334960

Please sign in to comment.