rework ActiveEffects

This commit is contained in:
Vincent Vandemeulebrouck
2021-06-29 00:56:25 +02:00
parent 3edc740d8c
commit e74f6b14d3
12 changed files with 110 additions and 154 deletions

View File

@ -274,7 +274,7 @@ export class RdDTMRDialog extends Dialog {
if ( this.actor.tmrApp ) {
this.actor.tmrApp = undefined; // Cleanup reference
if ( !this.viewOnly ) {
this.actor.setStatusDemiReve(false);
this.actor.setStatusEffect("EFFECT.StatusDemiReve", false);
this._tellToGM(this.actor.name + " a quitté les terres médianes");
}
this.actor.santeIncDec("fatigue", this.cumulFatigue).then(super.close()); // moving 1 cell costs 1 fatigue