mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 23:26:28 +01:00
Rework to level up once at a time
This commit is contained in:
parent
37b8c9bd37
commit
43444dfd42
16 changed files with 653 additions and 739 deletions
|
|
@ -5,9 +5,9 @@
|
|||
>
|
||||
<div class="section-container">
|
||||
<div class="tiers-container">
|
||||
{{#each this.levelup.tierCheckboxGroups as |tier key|}}
|
||||
<fieldset class="tier-container {{#if (not tier.tierActive)}}inactive{{/if}}">
|
||||
<legend>{{tier.tierName}}</legend>
|
||||
{{#each this.levelup.tiersForRendering as |tier key|}}
|
||||
<fieldset class="tier-container {{#if (not tier.active)}}inactive{{/if}}">
|
||||
<legend>{{tier.name}}</legend>
|
||||
|
||||
{{#each tier.groups}}
|
||||
<div class="checkbox-group-container">
|
||||
|
|
@ -19,9 +19,12 @@
|
|||
type="checkbox" class="selection-checkbox{{#if (gt this.cost 1)}} multi{{/if}}" {{checked this.selected}} {{#if this.disabled}}disabled{{/if}}
|
||||
data-tier="{{this.tier}}"
|
||||
data-level="{{this.level}}"
|
||||
data-option="{{this.optionKey}}"
|
||||
data-option="{{this.type}}"
|
||||
data-checkbox-nr="{{this.checkboxNr}}"
|
||||
data-cost="{{this.cost}}"
|
||||
data-cost="{{this.minCost}}"
|
||||
data-amount="{{this.amount}}"
|
||||
data-value="{{this.value}}"
|
||||
data-type="{{this.type}}"
|
||||
/>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue