mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
allow /dr and [[/dr]] to be rolled without selection
This commit is contained in:
parent
c81c1941a4
commit
aea2ef99c0
4 changed files with 22 additions and 13 deletions
|
|
@ -202,7 +202,7 @@ Hooks.on('chatMessage', (_, message) => {
|
|||
: undefined;
|
||||
const difficulty = rollCommand.difficulty;
|
||||
|
||||
const target = getCommandTarget();
|
||||
const target = getCommandTarget({ allowNull: true });
|
||||
const title = traitValue
|
||||
? game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilityCheckTitle', {
|
||||
ability: game.i18n.localize(SYSTEM.ACTOR.abilities[traitValue].label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue