From a3349604c0e8df25b23f49e699ce5b44f523eae3 Mon Sep 17 00:00:00 2001 From: Jeff Hitchcock Date: Mon, 18 Mar 2024 15:55:23 -0700 Subject: [PATCH] [#3248] Fix only damage application option not working --- module/documents/actor/actor.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/documents/actor/actor.mjs b/module/documents/actor/actor.mjs index c3a4090b1d..8f8c9d26e7 100644 --- a/module/documents/actor/actor.mjs +++ b/module/documents/actor/actor.mjs @@ -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});