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 = `