Fixed so that GroupRolls and TagTeams respect the HopeFear automation setting

This commit is contained in:
WBHarry 2026-06-19 11:44:46 +02:00
parent 0b7ae8a76c
commit 3115e96c17
4 changed files with 13 additions and 5 deletions

View file

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