Changed to storing the reloadCheckValue. It's included in notification feedback

This commit is contained in:
WBHarry 2026-07-21 23:45:09 +02:00
parent cb0d22a9a0
commit b345db4f05
6 changed files with 38 additions and 13 deletions

View file

@ -1,6 +1,8 @@
<div class="roll-buttons">
{{#if (and parent.system.hasReload (eq automationSettings.reload 'button'))}}
<button class="roll-reload-check" {{#if needsReload}}disabled{{/if}}>{{localize "DAGGERHEART.ACTIONS.Reload.checkReload"}}</button>
<button class="roll-reload-check" {{#if reloadCheckValue}}{{#unless parent.system.needsReload}}title="{{localize "DAGGERHEART.UI.Tooltip.noReloadRequired"}}"{{/unless}} disabled{{/if}}>
{{localize "DAGGERHEART.ACTIONS.Reload.checkReload"}}
</button>
{{/if}}
{{#if areas.length}}<button class="action-areas end-button"><i class="fa-solid fa-crosshairs"></i></button>{{/if}}
{{#if hasDamage}}