81 lines
1.9 KiB
HTML
81 lines
1.9 KiB
HTML
<!-- needs name, char, and statName -->
|
|
<template name="attributeDialog">
|
|
{{#baseDialog title=name class=color hideEdit=true}}
|
|
{{> attributeDialogView}}
|
|
{{/baseDialog}}
|
|
</template>
|
|
|
|
<template name="attributeDialogView">
|
|
{{#if showNewUserExperience}}
|
|
{{#infoBox}}
|
|
<p>
|
|
This dialog shows how your speed is set by the effect you added to your character's race.
|
|
</p>
|
|
<p>
|
|
In DiceCloud you don't change stats directly, rather you add effects which impact your stats in different ways. This way, you can always tell where your stats came from, and how they got to their current value.
|
|
</p>
|
|
{{/infoBox}}
|
|
{{/if}}
|
|
<div class="layout horizontal center-justified end">
|
|
<div class="paper-font-display2">
|
|
{{attributeValue}}
|
|
</div>
|
|
{{#if adjustment}}
|
|
<div class="paper-font-display1">
|
|
/{{attributeBase}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<hr class="vertMargin">
|
|
|
|
<div class="layout vertical center">
|
|
<table class="summaryTable">
|
|
{{#each baseEffects}}
|
|
<tr>
|
|
<td>{{sourceName}}</td>
|
|
<td>Base: {{statValue}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
{{#each addEffects}}
|
|
<tr>
|
|
<td>{{sourceName}}</td>
|
|
<td>{{signedString statValue}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
{{#each mulEffects}}
|
|
<tr>
|
|
<td>{{sourceName}}</td>
|
|
<td>× {{statValue}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
{{#each minEffects}}
|
|
<tr>
|
|
<td>{{sourceName}}</td>
|
|
<td>Min: {{statValue}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
{{#each maxEffects}}
|
|
<tr>
|
|
<td>{{sourceName}}</td>
|
|
<td>Max: {{statValue}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
{{#if adjustment}}
|
|
<tr class="paper-font-body2">
|
|
<td>Base Value</td>
|
|
<td>{{attributeBase}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Adjustment</td>
|
|
<td>{{signedString adjustment}}</td>
|
|
</tr>
|
|
{{/if}}
|
|
<tr class="paper-font-body2">
|
|
<td>Total</td>
|
|
<td>{{attributeValue}}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</template>
|