From fc56afa28e60511d43d12e89fc3c8f0e8e6d73f0 Mon Sep 17 00:00:00 2001 From: Vlyan Date: Sat, 6 Feb 2021 13:00:17 +0100 Subject: [PATCH] fix difficulty path as Mandar do not report it :D --- system/templates/dice/chat-roll.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/system/templates/dice/chat-roll.html b/system/templates/dice/chat-roll.html index f6d77a3..2fa2b1e 100644 --- a/system/templates/dice/chat-roll.html +++ b/system/templates/dice/chat-roll.html @@ -55,27 +55,27 @@ {{!-- summary symbols --}}
{{#if success}} - x{{success}} + x{{success}} {{/if}} {{#if explosive}} - x{{explosive}} + x{{explosive}} {{/if}} {{#if opportunity}} - x{{opportunity}} + x{{opportunity}} {{/if}} {{#if strife}} - x{{strife}} + x{{strife}} {{/if}}
{{!-- Result text --}} {{^if ../l5r5e.difficultyHidden}} -
+
{{#ifCond totalSuccess '>=' ../l5r5e.difficulty}} - {{localize "l5r5e.chatdices.success_text"}} + ({{totalBonus}} {{localize "l5r5e.chatdices.bonus_text"}}) + {{localize "l5r5e.chatdices.success_text"}} ({{totalBonus}} {{localize "l5r5e.chatdices.bonus_text"}}) {{else}} {{localize "l5r5e.chatdices.fail_text"}} {{/ifCond}}