From f950460098ad7d0ffb81ef4c207e212d629d026b Mon Sep 17 00:00:00 2001 From: WBHarry Date: Fri, 23 Jan 2026 16:06:50 +0100 Subject: [PATCH] . --- daggerheart.mjs | 4 ++-- module/enrichers/DualityRollEnricher.mjs | 14 ++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/daggerheart.mjs b/daggerheart.mjs index 7bb4b41f..c3a5c348 100644 --- a/daggerheart.mjs +++ b/daggerheart.mjs @@ -296,7 +296,7 @@ Hooks.on('chatMessage', (_, message) => { ? CONFIG.DH.ACTIONS.advantageState.disadvantage.value : undefined; const difficulty = rollCommand.difficulty; - const noResources = Boolean(rollCommand.noResources); + const grantResources = Boolean(rollCommand.grantResources); const target = getCommandTarget({ allowNull: true }); const title = traitValue @@ -314,7 +314,7 @@ Hooks.on('chatMessage', (_, message) => { label: game.i18n.localize('DAGGERHEART.GENERAL.dualityRoll'), actionType: null, advantage, - noResources + grantResources }); return false; } diff --git a/module/enrichers/DualityRollEnricher.mjs b/module/enrichers/DualityRollEnricher.mjs index d6d083d9..67728a37 100644 --- a/module/enrichers/DualityRollEnricher.mjs +++ b/module/enrichers/DualityRollEnricher.mjs @@ -34,8 +34,6 @@ function getDualityMessage(roll, flavor) { ? 'Disadvantage' : undefined; - const noResources = Boolean(roll?.noResources); - const dualityElement = document.createElement('span'); dualityElement.innerHTML = `