From 349a6de9164318dd18fdf8dcce99ad563e5f953e Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 27 Dec 2020 19:30:25 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20r=C3=A9cup=C3=A9ration=20blessure=20criti?= =?UTF-8?q?que?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 8bce2611..ad8e571f 100644 --- a/module/actor.js +++ b/module/actor.js @@ -210,7 +210,7 @@ export class RdDActor extends Actor { console.log("dormirChateauDormant", blessures) await this._recupererBlessures(message, "legere", blessures.legeres.liste.filter(b => b.active), []); await this._recupererBlessures(message, "grave", blessures.graves.liste.filter(b => b.active), blessures.legeres.liste); - await this._recupererBlessures(message,"legere", blessures.critiques.liste.filter(b => b.active), blessures.graves.liste); + await this._recupererBlessures(message, "critique", blessures.critiques.liste.filter(b => b.active), blessures.graves.liste); await this.update( {"data.blessures": blessures } ); await this._recupererVie(message); await this.transformerStress(message);