Ne pas informer le GM en cas de "visu" des TMR
This commit is contained in:
parent
9d676a74d8
commit
46ac403081
@ -2111,8 +2111,10 @@ export class RdDActor extends Actor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notification au MJ
|
if (mode != 'visu') {
|
||||||
ChatMessage.create({ content: this.name + " est monté dans les TMR en mode : " + mode, whisper: ChatMessage.getWhisperRecipients("GM") });
|
// Notification au MJ
|
||||||
|
ChatMessage.create({ content: this.name + " est monté dans les TMR en mode : " + mode, whisper: ChatMessage.getWhisperRecipients("GM") });
|
||||||
|
}
|
||||||
|
|
||||||
let data = {
|
let data = {
|
||||||
fatigue: {
|
fatigue: {
|
||||||
|
@ -61,8 +61,9 @@ export class RdDTMRDialog extends Dialog {
|
|||||||
this.actor.santeIncDec("fatigue", this.nbFatigue).then(super.close()); // moving 1 cell costs 1 fatigue
|
this.actor.santeIncDec("fatigue", this.nbFatigue).then(super.close()); // moving 1 cell costs 1 fatigue
|
||||||
this.actor.tmrApp = undefined; // Cleanup reference
|
this.actor.tmrApp = undefined; // Cleanup reference
|
||||||
this.actor.setStatusDemiReve(false);
|
this.actor.setStatusDemiReve(false);
|
||||||
|
if (! this.viewOnly) {
|
||||||
this._tellToGM(this.actor.name + " a quitté les terres médianes")
|
this._tellToGM(this.actor.name + " a quitté les terres médianes");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user