Corrected the data path for showing the difficulty marker in roll chat messages

This commit is contained in:
WBHarry 2026-05-31 02:11:54 +02:00
parent d3141059ac
commit ede953dd96

View file

@ -12,13 +12,9 @@
{{/if}}
</span>
</div>
{{#if roll.difficulty}}
<span class="roll-difficulty{{#unless roll.success}} is-miss{{/unless}}">
{{!-- {{#if canViewSecret}} --}}
difficulty {{roll.difficulty}}
{{!-- {{else}}
{{localize (ifThen roll.success "DAGGERHEART.GENERAL.success" "DAGGERHEART.GENERAL.failure")}}
{{/if}} --}}
{{#if roll.options.roll.difficulty}}
<span class="roll-difficulty{{#unless roll.options.roll.success}} is-miss{{/unless}}">
{{localize "DAGGERHEART.GENERAL.difficulty"}} {{roll.options.roll.difficulty}}
</span>
{{/if}}
</div>