From a936b2d2663db1f79e3c3ffab2d0a45f6c9080f9 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 6 Dec 2020 19:31:11 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20type=20de=20r=C3=A9ussite/=C3=A9ch?= =?UTF-8?q?ec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fais doublon avec certains endroits où c'est géré directement, mais standardise les résultats de jets --- module/rdd-resolution-table.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/rdd-resolution-table.js b/module/rdd-resolution-table.js index c1b4e2df..4add9f4c 100644 --- a/module/rdd-resolution-table.js +++ b/module/rdd-resolution-table.js @@ -80,10 +80,11 @@ export class RdDResolutionTable { /* -------------------------------------------- */ static explain(rolled) { - let message = "
Jet : " + rolled.roll + " sur " + rolled.score + "%"; + let message = "
Jet : " + rolled.roll + " sur " + rolled.score + "% "; if (rolled.caracValue != null && rolled.finalLevel!= null) { - message += " (" + rolled.caracValue + " à " + Misc.toSignedString(rolled.finalLevel) + ")"; + message += "(" + rolled.caracValue + " à " + Misc.toSignedString(rolled.finalLevel) + ") "; } + message += rolled.quality return message; }