mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 12:54:16 +02:00
* Redesign group roll dialog * Style and restore aid modifiers * Move successful buttons to inner result * Localize and finish dialog * Remove empty line * Fix error and remove old styles * Make icon pop a tiny bit better * Fix advantage/disadvantage
30 lines
No EOL
1.4 KiB
Handlebars
30 lines
No EOL
1.4 KiB
Handlebars
{{#if (and hasRolled leader.roll)}}
|
|
<div class="group-roll-results with-result {{groupRoll.totalDualityClass}}">
|
|
<div class="row leader">
|
|
<span class="label">{{localize "DAGGERHEART.APPLICATIONS.GroupRollSelect.leaderRoll"}}</span>
|
|
<span class="duality-label">
|
|
{{leader.roll.total}}
|
|
<span class="with">{{localize "DAGGERHEART.GENERAL.withThing" thing=leader.roll.totalLabel}}</span>
|
|
</span>
|
|
</div>
|
|
<div class="row modifiers">
|
|
<span class="label">{{localize "DAGGERHEART.GENERAL.Modifier.plural"}}</span>
|
|
<div class="item-tags">
|
|
{{#each groupRoll.modifiers as |modifier|}}
|
|
<span class="tag {{#if (gte modifier 0)}}success{{else}}failure{{/if}}">
|
|
{{numberFormat modifier sign=true}}
|
|
</span>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
<div class="divider"></div>
|
|
<div class="row total">
|
|
<span class="label">{{localize "DAGGERHEART.GENERAL.total"}}</span>
|
|
<span class="duality-label"><span class="value">{{groupRoll.total}}</span> {{groupRoll.totalLabel}}</span>
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
<div class="group-roll-results empty">
|
|
{{localize "DAGGERHEART.APPLICATIONS.GroupRollSelect.resultsHint"}}
|
|
</div>
|
|
{{/if}} |