From 19f5e2af599093c283991aa3c89fb6a84f653eb0 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 1 May 2021 13:00:32 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20jet=20=C3=A9thylisme=20sur=20vie?= 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 105984cb..01f8f2c3 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1483,7 +1483,7 @@ export class RdDActor extends Actor { async ethylismeTest() { const actorData = Misc.data(this); let rollData = { - vieValue: actorData.data.sante.vie.value, + vieValue: actorData.data.sante.vie.max, etat: this.getEtatGeneral() - Math.min(0, actorData.data.compteurs.ethylisme.value), // Pour les jets d'Ethylisme, on ignore le degré d'éthylisme (p.162) diffNbDoses: -Number(actorData.data.compteurs.ethylisme.nb_doses || 0), finalLevel: 0,