mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 18:39:55 +02:00
Fixed so that automated countdowns reverse progress from Fear when rerolling dice if the duality result changes
This commit is contained in:
parent
3840f39c97
commit
4d81509e79
5 changed files with 38 additions and 23 deletions
|
|
@ -202,11 +202,11 @@ export default class DhCombatTracker extends foundry.applications.sidebar.tabs.C
|
|||
const { updateCountdowns } = game.system.api.applications.ui.DhCountdowns;
|
||||
if (combatant.actor?.type === 'character') {
|
||||
await updateCountdowns(
|
||||
CONFIG.DH.GENERAL.countdownProgressionTypes.spotlight.id,
|
||||
CONFIG.DH.GENERAL.countdownProgressionTypes.characterSpotlight.id
|
||||
{ type: CONFIG.DH.GENERAL.countdownProgressionTypes.spotlight.id },
|
||||
{ type: CONFIG.DH.GENERAL.countdownProgressionTypes.characterSpotlight.id }
|
||||
);
|
||||
} else {
|
||||
await updateCountdowns(CONFIG.DH.GENERAL.countdownProgressionTypes.spotlight.id);
|
||||
await updateCountdowns({ type: CONFIG.DH.GENERAL.countdownProgressionTypes.spotlight.id });
|
||||
}
|
||||
|
||||
const autoPoints = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Automation).actionPoints;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue