Merge branch 'development' into feature-rollTableSheet

This commit is contained in:
WBHarry 2026-01-24 12:11:23 +01:00
commit d5621d20ec
20 changed files with 345 additions and 60 deletions

View file

@ -307,6 +307,7 @@ Hooks.on('chatMessage', (_, message) => {
? CONFIG.DH.ACTIONS.advantageState.disadvantage.value
: undefined;
const difficulty = rollCommand.difficulty;
const grantResources = Boolean(rollCommand.grantResources);
const target = getCommandTarget({ allowNull: true });
const title =
@ -324,7 +325,8 @@ Hooks.on('chatMessage', (_, message) => {
title,
label: game.i18n.localize('DAGGERHEART.GENERAL.dualityRoll'),
actionType: null,
advantage
advantage,
grantResources
});
return false;
}