Les rencontres sont configurables #572

Merged
uberwald merged 17 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-11-10 07:24:52 +01:00
Showing only changes of commit be57a52f61 - Show all commits

View File

@ -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 {