mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
.
This commit is contained in:
parent
3115e96c17
commit
9eeadba046
3 changed files with 42 additions and 41 deletions
|
|
@ -886,7 +886,7 @@ export async function triggerChatRollFx(rolls, options = { whisper: false, blind
|
|||
}
|
||||
}
|
||||
|
||||
export function shouldUseHopeFearAutomation() {
|
||||
export function shouldUseHopeFearAutomation(options = { gmAsPlayer: true }) {
|
||||
const { hopeFear } = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation);
|
||||
return game.user.isGM ? hopeFear.gm : hopeFear.players;
|
||||
return (!game.user.isGM || options.gmAsPlayer) ? hopeFear.players : hopeFear.gm;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue