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}} {{/if}}
</span> </span>
</div> </div>
{{#if roll.difficulty}} {{#if roll.options.roll.difficulty}}
<span class="roll-difficulty{{#unless roll.success}} is-miss{{/unless}}"> <span class="roll-difficulty{{#unless roll.options.roll.success}} is-miss{{/unless}}">
{{!-- {{#if canViewSecret}} --}} {{localize "DAGGERHEART.GENERAL.difficulty"}} {{roll.options.roll.difficulty}}
difficulty {{roll.difficulty}}
{{!-- {{else}}
{{localize (ifThen roll.success "DAGGERHEART.GENERAL.success" "DAGGERHEART.GENERAL.failure")}}
{{/if}} --}}
</span> </span>
{{/if}} {{/if}}
</div> </div>