From 65a4e1ec690f41908ded8af7406ba05366e8fbaf Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 8 May 2021 00:29:48 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20jet=20r=C3=A9cup=C3=A9ration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit le +7 n'est pas justifié, sinon on ne fait que des rêves de dragon --- module/actor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 5132b08e..0e885c0c 100644 --- a/module/actor.js +++ b/module/actor.js @@ -638,7 +638,8 @@ export class RdDActor extends Actor { } } else { - let deRecuperation = new Roll("1dr + 7").evaluate().total; + const roll = new Roll("1dr").evaluate(); + let deRecuperation = roll.total; console.log("recuperationReve", deRecuperation); if (deRecuperation >= 7) { // Rêve de Dragon !