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
|
|
@ -362,11 +362,11 @@ export default class DualityRoll extends D20Roll {
|
|||
|
||||
if (config.roll.result.duality === -1) {
|
||||
await updateCountdowns(
|
||||
CONFIG.DH.GENERAL.countdownProgressionTypes.actionRoll.id,
|
||||
CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id
|
||||
{ type: CONFIG.DH.GENERAL.countdownProgressionTypes.actionRoll.id },
|
||||
{ type: CONFIG.DH.GENERAL.countdownProgressionTypes.fear.id }
|
||||
);
|
||||
} else {
|
||||
await updateCountdowns(CONFIG.DH.GENERAL.countdownProgressionTypes.actionRoll.id);
|
||||
await updateCountdowns({ type: CONFIG.DH.GENERAL.countdownProgressionTypes.actionRoll.id });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue