From a2968697f4904abb38c94a0936a9afad87af83a5 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 7 Feb 2023 21:37:43 +0100 Subject: [PATCH] =?UTF-8?q?Jet=20de=20moral=20neutre=20sans=20effet=20si?= =?UTF-8?q?=20moral=20=C3=A0=200?= 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 acf82344..262f2d15 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1612,7 +1612,7 @@ export class RdDActor extends RdDBaseActor { case 'heureux': case 'heureuse': return succes ? 1 : 0; case 'malheureuse': case 'malheureux': return succes ? 0 : -1; case 'neutre': - if (succes && moral <= 0) return 1; + if (succes && moral < 0) return 1; if (!succes && moral > 0) return -1; } return 0;