finish base power overhaul

This commit is contained in:
2024-05-12 23:19:36 -05:00
parent c8f27770b6
commit b5b0ad01f6
3 changed files with 100 additions and 119 deletions
+22 -6
View File
@@ -6,17 +6,33 @@
<p>Apply the affects of {{name}}.</p>
</section>
</header>
{{#if targets.length}}
<p>
{{#if targets.length}} <strong>Targets</strong>: {{#each targets}}{{#if @index}}, {{/if}}{{this}}{{/each}} {{/if}}
<strong>Targets</strong>:
{{#each targets}}{{#if @index}}, {{/if}}{{this}}{{/each}}
{{#if recipients.cost}}
<br>(Additional Recipients {{recipients.cost}}pp each × {{recipients.count}} = {{recipients.total}})
{{/if}}
</p>
{{/if}}
{{#each modifiers}}
<div class="form-group">
{{#if isCheckbox}}
<input type="checkbox" name="{{id}}" {{checked default}} />
<label for="{{id}}">{{#if epic}}⭐ {{/if}}{{name}} ({{numberFormat value decimals=0 sign=true}})</label>
{{/if}} {{#if isRadio}}
<label>{{#if epic}}⭐ {{/if}}{{name}}:</label>
{{radioBoxes id choices checked=default}} {{/if}}
<input type="checkbox" name="{{id}}" {{checked default}} />
<label for="{{id}}">
{{#if epic}}⭐ {{/if}}{{name}} ({{numberFormat value decimals=0 sign=true}})
</label>
{{/if}}
{{#if isSelect}}
<label>{{#if epic}}⭐ {{/if}}{{name}}:</label>
<select name="{{id}}">
{{selectOptions choices selected=default}}
</select>
{{/if}}
{{#if isRadio}}
<label>{{#if epic}}⭐ {{/if}}{{name}}:</label>
{{radioBoxes id choices checked=default}}
{{/if}}
</div>
{{/each}}
<footer class="sheet-footer flexrow">