zombie complete + summon costs setup macro

This commit is contained in:
2024-06-08 22:20:48 -05:00
parent 5cb15bcedd
commit 20871bcdef
7 changed files with 165 additions and 13 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<form class="flexcol"><!-- vim: set ft=handlebars: -->
<form class="flexcol"><!-- vim: set ft=handlebars.html: -->
<header class="sheet-header flexrow">
<img src="{{icon}}" height="64" width="64" title="{{name}} Effect" alt=" " />
<section class="flexcol">
+44
View File
@@ -0,0 +1,44 @@
<form class='flexcol'>
<!-- vim: set ft=handlebars.html:-->
<header class='sheet-header'>
<h2>Set Summon Parameters</h2>
</header>
<table class="mbForm">
<thead>
<tr>
<th rowspan='2'>Folder</th>
<th rowspan='2'>Actor</th>
<th rowspan='2'>Cost</th>
<th colspan='{{powers.length}}'>Available Powers</th>
</tr>
<tr>
{{#each powers}}
<th>{{this}}?</th>
{{/each}}
</tr>
</thead>
<tbody>
{{#each actors}}
<tr>
<td>{{actor.folder}}</td>
<td>{{actor.name}}</td>
<td><input type="number"
value="{{summon.cost}}"
name="{{actor.fullName}}:;:cost"
step="1"
min="0"/></td>
{{#each summon.powers}}
<td align="center"><input
type="checkbox"
name="{{../actor.fullName}}:;:{{power}}"
{{checked value}}></td>
{{/each}}
</tr>
{{/each}}
</tbody>
</table>
<footer class="sheet-footer flexrow">
<button type="submit" name="submit" value="submit">Submit</button>
<button type="submit" name="submit" value="cancel">Cancel</button>
</footer>
</form>