Partial fix for #671 Reaction Roll chat display to match rules

This commit is contained in:
Chris Ryan 2025-08-11 18:25:22 +10:00
parent 4ffa690aec
commit 208b6623b4
4 changed files with 12 additions and 5 deletions

View file

@ -6,8 +6,12 @@
{{#if roll.isCritical}}
<span>{{localize "DAGGERHEART.GENERAL.criticalShort"}}</span>
{{else}}
{{#if roll.result}}
<span>{{localize "DAGGERHEART.GENERAL.withThing" thing=roll.result.label}}</span>
{{#if (eq roll.type "reaction")}}
{{!-- Display no hope/fear as per rules --}}
{{else}}
{{#if roll.result}}
<span>{{localize "DAGGERHEART.GENERAL.withThing" thing=roll.result.label}}</span>
{{/if}}
{{/if}}
{{/if}}
</span>