From cfdc6678952f6b1c228189f0a97521fa68aadc4d Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 27 Dec 2020 20:23:14 +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 5e8f5436..e2a7dfda 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);