Add customizable rolls to items

This commit is contained in:
mstein
2022-07-23 18:50:08 +02:00
parent 58ed9d7d74
commit b3e2771e91
24 changed files with 361 additions and 155 deletions
+15 -13
View File
@@ -2,9 +2,9 @@
<thead>
<tr>
<th>{{localize "ITEM.TypeWeapon"}}</th>
<th>{{localize "midgard5.ew"}}</th>
<th></th>
<th></th>
<th class="fixed-value">{{localize "midgard5.ew"}}</th>
<th class="fixed-value"></th>
<th class="fixed-value"></th>
</tr>
</thead>
<tbody>
@@ -30,9 +30,9 @@
<thead>
<tr>
<th>{{localize "ITEM.TypeDefensiveWeapon"}}</th>
<th>{{localize "midgard5.ew"}}</th>
<th></th>
<th></th>
<th class="fixed-value">{{localize "midgard5.ew"}}</th>
<th class="fixed-value"></th>
<th class="fixed-value"></th>
</tr>
</thead>
<tbody>
@@ -51,13 +51,13 @@
<thead>
<tr>
<th>{{localize "ITEM.TypeArmor"}}</th>
<th>{{localize "midgard5.actor-lp-short"}}</th>
<th>{{localize "midgard5.actor-ap-short"}}</th>
<th>{{localize "midgard5.attackBonus-short"}}</th>
<th>{{localize "midgard5.defenseBonus-short"}}</th>
<th>B</th>
<th>Gw</th>
<th></th>
<th class="fixed-value">{{localize "midgard5.actor-lp-short"}}</th>
<th class="fixed-value">{{localize "midgard5.actor-ap-short"}}</th>
<th class="fixed-value">{{localize "midgard5.attackBonus-short"}}</th>
<th class="fixed-value">{{localize "midgard5.defenseBonus-short"}}</th>
<th class="fixed-value">B</th>
<th class="fixed-value">Gw</th>
<th class="fixed-value"></th>
</tr>
</thead>
<tbody>
@@ -80,12 +80,14 @@
<thead>
<tr>
<th>{{localize "ITEM.TypeItem"}}</th>
<th></th>
</tr>
</thead>
<tbody>
{{#each data.calc.gear.items as |item itemId|}}
<tr data-item="{{itemId}}">
<td class="padding edit-item">{{item.label}}</td>
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
</tr>
{{/each}}
</tbody>