mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
[Fix] TagTag/GroupRoll Resource Handling (#2022)
This commit is contained in:
parent
29be8c1395
commit
08b95e48d6
6 changed files with 92 additions and 47 deletions
|
|
@ -885,3 +885,8 @@ export async function triggerChatRollFx(rolls, options = { whisper: false, blind
|
|||
foundry.audio.AudioHelper.play({ src: CONFIG.sounds.dice });
|
||||
}
|
||||
}
|
||||
|
||||
export function shouldUseHopeFearAutomation(options = { gmAsPlayer: true }) {
|
||||
const { hopeFear } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation);
|
||||
return (!game.user.isGM || options.gmAsPlayer) ? hopeFear.players : hopeFear.gm;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue