78 lines
2.6 KiB
Handlebars
78 lines
2.6 KiB
Handlebars
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>{{localize "ITEM.TypeWeapon"}}</th>
|
|
<th>{{localize "midgard5.ew"}}</th>
|
|
<th></th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data.calc.gear.weapons as |item itemId|}}
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{item.label}}</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-weapon-button"></button></td>
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{localize "midgard5.brawl"}}</td>
|
|
<td class="center">{{data.calc.stats.brawlEw}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-brawl-button"></button></td>
|
|
<td class="fixed-value"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>{{localize "ITEM.TypeDefensiveWeapon"}}</th>
|
|
<th>{{localize "midgard5.ew"}}</th>
|
|
<th></th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data.calc.gear.defensiveWeapons as |item itemId|}}
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{item.label}}</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-weapon-button"></button></td>
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<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>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data.calc.gear.armor as |item itemId|}}
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{item.label}}</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "lpProtection"}}</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "apProtection"}}</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.attackBonus"}}</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.defenseBonus"}}</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.movementBonus"}}</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "attributeMod.gw"}}</td>
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|