diff --git a/module/dice/d20Roll.mjs b/module/dice/d20Roll.mjs index 49db18cb..6c1082f0 100644 --- a/module/dice/d20Roll.mjs +++ b/module/dice/d20Roll.mjs @@ -36,7 +36,7 @@ export default class D20Roll extends DHRoll { get isCritical() { if (!this.d20._evaluated) return; - const criticalThreshold = this.options.actionType === 'reaction' ? 20 : this.data.system.criticalThreshold; + const criticalThreshold = this.options.actionType === 'reaction' ? 20 : this.data.criticalThreshold; return this.d20.total >= criticalThreshold; } diff --git a/templates/ui/chat/parts/roll-part.hbs b/templates/ui/chat/parts/roll-part.hbs index 850f0e92..78f4dcd9 100644 --- a/templates/ui/chat/parts/roll-part.hbs +++ b/templates/ui/chat/parts/roll-part.hbs @@ -6,7 +6,7 @@ {{#if roll.isCritical}} {{localize "DAGGERHEART.GENERAL.criticalShort"}} {{else}} - {{#if (and roll.result (not (eq roll.type "reaction")))}} + {{#if (and roll.dHope (not (eq roll.type "reaction")))}} {{localize "DAGGERHEART.GENERAL.withThing" thing=roll.totalLabel}} {{/if}} {{/if}} @@ -89,7 +89,7 @@ {{#each roll.dice}} {{#each results}}
-
+
{{result}}