Added automation on fear to countdowns

This commit is contained in:
WBHarry 2025-11-20 02:11:50 +01:00
parent 498e6b9aa2
commit f9f2abc484
5 changed files with 24 additions and 15 deletions

View file

@ -248,6 +248,10 @@ export const registerRollDiceHooks = () => {
) {
const { updateCountdowns } = game.system.api.applications.ui.DhCountdowns;
await updateCountdowns(CONFIG.DH.GENERAL.countdownProgressionTypes.actionRoll.id);
if (config.roll.result.duality === -1) {
await updateCountdowns(CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id);
}
}
const hopeFearAutomation = automationSettings.hopeFear;