Make TMR great again....
This commit is contained in:
@ -68,7 +68,7 @@ export class RdDTMRDialog extends Dialog {
|
||||
}
|
||||
|
||||
// load the texture we need
|
||||
this.pixiTMR.load((loader, resources) => this.createPixiSprites());
|
||||
this.pixiTMR.load( (loader, resources) => this.createPixiSprites() );
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -211,9 +211,9 @@ export class RdDTMRDialog extends Dialog {
|
||||
this.moveFromKey("bottom");
|
||||
} );
|
||||
|
||||
|
||||
// Gestion du cout de montée en points de rêve
|
||||
let reveCout = ((this.tmrdata.isRapide && !EffetsDraconiques.isDeplacementAccelere(this.actor)) ? -2 : -1)
|
||||
- this.actor.countMonteeLaborieuse();
|
||||
let reveCout = ((this.tmrdata.isRapide && !EffetsDraconiques.isDeplacementAccelere(this.actor)) ? -2 : -1) - this.actor.countMonteeLaborieuse();
|
||||
this.cumulFatigue += this.fatigueParCase;
|
||||
await this.actor.reveActuelIncDec(reveCout);
|
||||
|
||||
@ -519,7 +519,7 @@ export class RdDTMRDialog extends Dialog {
|
||||
if (TMRUtility.isForceRencontre() || myRoll == 7) {
|
||||
return await this.rencontreTMRRoll(tmr, this.actor.isRencontreSpeciale());
|
||||
}
|
||||
let locTMR = (this.montreTMR) ? tmr.label + " (" + tmr.coord + ")" : "??";
|
||||
let locTMR = (this.cacheTMR) ? "??": tmr.label + " (" + tmr.coord + ")";
|
||||
this._tellToUser(myRoll + ": Pas de rencontre en " + locTMR);
|
||||
}
|
||||
|
||||
@ -933,7 +933,6 @@ export class RdDTMRDialog extends Dialog {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async postRencontre(tmr) {
|
||||
if (!(this.viewOnly || this.currentRencontre)) {
|
||||
|
Reference in New Issue
Block a user