mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 05:31:07 +01:00
Added BP calculation and tooltip breakdown of BP sources
This commit is contained in:
parent
630ba5ab7d
commit
51a0fb82eb
12 changed files with 251 additions and 12 deletions
15
templates/ui/tooltip/battlepoints.hbs
Normal file
15
templates/ui/tooltip/battlepoints.hbs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<div class="battlepoint-categories-container">
|
||||
{{#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>
|
||||
{{else}}
|
||||
<label class="unselected-grouping">{{key}}BP - {{localize grouping.description}}</label>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue