mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 03:19:55 +02:00
Merge b31c9d3266 into d50545af4e
This commit is contained in:
commit
cae4af881a
7 changed files with 52 additions and 24 deletions
|
|
@ -1,6 +1,8 @@
|
|||
<div class="roll-buttons">
|
||||
{{#if (eq automationSettings.reload 'button')}}
|
||||
<button class="roll-reload-check" {{#if needsReload}}disabled{{/if}}>{{localize "DAGGERHEART.ACTIONS.Reload.checkReload"}}</button>
|
||||
{{#if (and parent.system.hasReload (eq automationSettings.reload '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}}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,10 @@
|
|||
<div class="chat-roll">
|
||||
<div class="roll-part-title"><span>{{title}}</span></div>
|
||||
|
||||
{{#if (eq action.type 'attack')}}
|
||||
{{#if needsReload}}
|
||||
<div class="roll-reload-container">
|
||||
{{#if needsReload}}
|
||||
<p class='reload-warning'>{{localize "DAGGERHEART.ACTIONS.Reload.reloadRequired"}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (and (eq action.type 'attack') parent.system.needsReload)}}
|
||||
<div class="roll-reload-container">
|
||||
<p class='reload-warning'>{{localize "DAGGERHEART.ACTIONS.Reload.reloadRequired"}}</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if actionDescription}}{{> 'systems/daggerheart/templates/ui/chat/parts/description-part.hbs'}}{{/if}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue