mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
Added Modifiers
This commit is contained in:
parent
51a0fb82eb
commit
e32454b7c7
9 changed files with 344 additions and 205 deletions
|
|
@ -64,7 +64,9 @@
|
|||
{{/if}}
|
||||
</strong>
|
||||
|
||||
<div class="encounter-battlepoints" data-tooltip="#battlepoints#" data-combat-id="{{combat.id}}" data-bp-current="{{battlepoints.current}}" data-bp-max="{{battlepoints.max}}" data-nr-characters="{{characters.length}}">{{battlepoints.current}}/{{battlepoints.max}} BP</div>
|
||||
<div class="encounter-battlepoints" data-tooltip="#battlepoints#" data-combat-id="{{combat.id}}">
|
||||
{{battlepoints.current}}/{{battlepoints.max}} BP{{#if battlepoints.hasModifierBP}}*{{/if}}
|
||||
</div>
|
||||
|
||||
{{!-- Combat Controls --}}
|
||||
<div class="inner-controls">
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<div class="battlepoint-categories-container">
|
||||
<h3>{{localize "Adversaries"}} ({{currentBP}}/{{maxBP}})</h3>
|
||||
{{#each categories as |category key|}}
|
||||
{{#each category as |grouping index|}}
|
||||
<div class="battlepoint-grouping-container">
|
||||
{{#if grouping.nr}}
|
||||
<label>{{key}} BP - {{concat (localize grouping.description) ' ' '('grouping.nr 'x)'}}</label>
|
||||
<label>{{key}} BP: {{concat (localize grouping.description) ' ' '('grouping.nr 'x)'}}</label>
|
||||
{{else}}
|
||||
<label class="unselected-grouping">{{key}}BP - {{localize grouping.description}}</label>
|
||||
{{/if}}
|
||||
|
|
@ -12,4 +13,13 @@
|
|||
{{/each}}
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="battlepoint-toggles-container">
|
||||
<h3>{{localize "Modifiers"}}</h3>
|
||||
{{#each toggles as |toggle|}}
|
||||
<div class="battlepoint-toggle-container">
|
||||
<input type="checkbox" data-combat-id="{{@root.combatId}}" data-category="{{toggle.categoryKey}}" data-grouping="{{toggle.toggleKey}}" {{checked toggle.checked}} />
|
||||
<label class="unselected-grouping">{{toggle.categoryKey}} BP: {{localize toggle.description}}</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue