Added an AppearanceSetting that decided if players should get to see information about hit/miss in chat messages

This commit is contained in:
WBHarry 2026-03-07 18:26:56 +01:00
parent f1f5102af1
commit f75468c9e0
6 changed files with 17 additions and 3 deletions

View file

@ -8,6 +8,10 @@
value=setting.displayFear
localize=true}}
{{formGroup
fields.hideHitMissForPlayers
value=setting.hideHitMissForPlayers
localize=true}}
{{formGroup
fields.displayCountdownUI
value=setting.displayCountdownUI
localize=true}}

View file

@ -1,6 +1,6 @@
<div class="roll-part target-section dice-roll" data-action="expandRoll">
<div class="roll-part-header"><div><span>{{pluralize currentTargets.length "DAGGERHEART.GENERAL.Target"}}</span></div></div>
{{#if isGM}}
{{#if (or isGM (not appearanceSettings.hideHitMissForPlayers))}}
<div class="roll-part-extra on-reduced">
<div class="wrapper">
{{#if (or (gt targetShort.hit 0) (gt targetShort.miss 0))}}