Suppression du jet de rencontre de test
This commit is contained in:
parent
c2e8621405
commit
be57a52f61
@ -580,8 +580,7 @@ export class RdDTMRDialog extends Dialog {
|
|||||||
: tmr.label + " (" + tmr.coord + ")");
|
: tmr.label + " (" + tmr.coord + ")");
|
||||||
|
|
||||||
let myRoll = await RdDDice.rollTotal("1dt", { showDice: SHOW_DICE });
|
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);
|
this._tellToUser(myRoll + ": Rencontre en " + locTMR);
|
||||||
return await TMRRencontres.getRencontreAleatoire(tmr, this.actor.isMauvaiseRencontre())
|
return await TMRRencontres.getRencontreAleatoire(tmr, this.actor.isMauvaiseRencontre())
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user