Corrected the data path for showing the difficulty marker in roll chat messages (#1950)

This commit is contained in:
WBHarry 2026-05-31 03:05:13 +02:00 committed by GitHub
parent d3141059ac
commit c23ac61ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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>