This commit is contained in:
WBHarry 2026-06-19 16:19:09 +02:00
parent 3115e96c17
commit 9eeadba046
3 changed files with 42 additions and 41 deletions

View file

@ -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;
}