From be57a52f61338de56bf7d7e50af97f39e28a26e2 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Thu, 10 Nov 2022 00:59:25 +0100 Subject: [PATCH] Suppression du jet de rencontre de test --- module/rdd-tmr-dialog.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index 80d129be..e5fa7516 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -580,8 +580,7 @@ export class RdDTMRDialog extends Dialog { : tmr.label + " (" + tmr.coord + ")"); let myRoll = await RdDDice.rollTotal("1dt", { showDice: SHOW_DICE }); - console.warn('// TODO: remettre myRoll==7'); - if (myRoll <= 7) { + if (myRoll == 7) { this._tellToUser(myRoll + ": Rencontre en " + locTMR); return await TMRRencontres.getRencontreAleatoire(tmr, this.actor.isMauvaiseRencontre()) } else {