Affichage souffle

This commit is contained in:
LeRatierBretonnien 2023-12-30 14:20:05 +01:00
parent d577e2d2ec
commit 94caf4040b

View File

@ -700,7 +700,6 @@ export class RdDTMRDialog extends Dialog {
} }
async _resultatMaitriseCaseHumide(rollData) { async _resultatMaitriseCaseHumide(rollData) {
await this.souffleSiEchecTotal(rollData);
if (rollData.rolled.isSuccess && rollData.double) { if (rollData.rolled.isSuccess && rollData.double) {
rollData.previous = { rolled: rollData.rolled, ajustements: rollData.ajustements }; rollData.previous = { rolled: rollData.rolled, ajustements: rollData.ajustements };
rollData.double = undefined; rollData.double = undefined;
@ -715,6 +714,7 @@ export class RdDTMRDialog extends Dialog {
if (rollData.rolled.isEchec) { if (rollData.rolled.isEchec) {
await this.close(); await this.close();
} }
await this.souffleSiEchecTotal(rollData);
} }
/* -------------------------------------------- */ /* -------------------------------------------- */