mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
Fixed so that GroupRolls and TagTeams respect the HopeFear automation setting
This commit is contained in:
parent
0b7ae8a76c
commit
3115e96c17
4 changed files with 13 additions and 5 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() {
|
||||
const { hopeFear } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation);
|
||||
return game.user.isGM ? hopeFear.gm : hopeFear.players;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue