126 lines
4.5 KiB
Handlebars
126 lines
4.5 KiB
Handlebars
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title">{{localize "TYPES.Item.weapon"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"></th>
|
|
<th class="title"></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 class="title">{{localize "TYPES.Item.defensiveWeapon"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"></th>
|
|
<th class="title"></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}}
|
|
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{localize "midgard5.defense"}}</td>
|
|
<td class="center">{{add data.calc.stats.defense.value data.calc.stats.defenseBonus.value}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-defense-button"></button></td>
|
|
<td class="fixed-value"></td>
|
|
</tr>
|
|
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{localize "midgard5.resistanceMind"}}</td>
|
|
<td class="center">{{data.calc.stats.resistanceMind.value}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-resistanceMind-button"></button></td>
|
|
<td class="fixed-value"></td>
|
|
</tr>
|
|
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">{{localize "midgard5.resistanceBody"}}</td>
|
|
<td class="center">{{data.calc.stats.resistanceBody.value}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-resistanceBody-button"></button></td>
|
|
<td class="fixed-value"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title">{{localize "TYPES.Item.armor"}}</th>
|
|
<th class="title">{{localize "midgard5.actor-lp-short"}}</th>
|
|
<th class="title">{{localize "midgard5.actor-ap-short"}}</th>
|
|
<th class="title">{{localize "midgard5.attackBonus-short"}}</th>
|
|
<th class="title">{{localize "midgard5.defenseBonus-short"}}</th>
|
|
<th class="title">B</th>
|
|
<th class="title">Gw</th>
|
|
<th class="title"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data.calc.gear.armor as |item itemId|}}
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding">
|
|
<span class="edit-item">{{item.label}}</span>
|
|
{{#if item.equipped}}
|
|
<span class="spell-process">{{localize "midgard5.equipped"}}</span>
|
|
{{/if}}
|
|
</td>
|
|
<td class="fixed-value">{{actorItemValue ../actor._id itemId "lpProtection" ../actor.isToken}}</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>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title">{{localize "TYPES.Item.item"}}</th>
|
|
<th class="title"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data.calc.gear.items as |item itemId|}}
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding">
|
|
<span class="edit-item">{{item.label}}</span>
|
|
{{#if item.equipped}}
|
|
<span class="spell-process">{{localize "midgard5.equipped"}}</span>
|
|
{{/if}}
|
|
</td>
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|