From 638459049d4e2c6d0171fb023604df38ba6d13e9 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 14 Jun 2024 00:03:06 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20d=C3=A9=20draconique=20et=20rencontre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le dé draconique donnait toujours un total de 0 --- module/rdd-dice.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/rdd-dice.js b/module/rdd-dice.js index efc5dbd3..2f9dc10f 100644 --- a/module/rdd-dice.js +++ b/module/rdd-dice.js @@ -36,8 +36,8 @@ export class DeTMR extends Die { super(termData); } - async evaluate() { - super.evaluate(); + async evaluate(options) { + await super.evaluate(options); this.explode("x=8"); return this; } @@ -73,8 +73,8 @@ export class DeDraconique extends Die { super(termData); } - async evaluate() { - super.evaluate(); + async evaluate(options) { + await super.evaluate(options); this.explode("x=7"); return this; }