136 lines
5.1 KiB
Handlebars
136 lines
5.1 KiB
Handlebars
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title">{{localize "TYPES.Item.kampfkunst"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"></th>
|
|
<th class="title"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data.calc.kampfkuenste as |item itemId|}}
|
|
<tr data-item="{{itemId}}">
|
|
<td class="padding edit-item">
|
|
<span>{{item.label}}</span>
|
|
{{#if item.isKido}}
|
|
<span class="spell-process">{{localize (m5concat "midgard5.kido-type-" item.type)}}</span>
|
|
{{#unless (eq item.type "finte")}}
|
|
<span class="spell-process">({{localize (m5concat "midgard5.kido-variante-" item.variante)}})</span>
|
|
{{/unless}}
|
|
{{else}}
|
|
<span class="spell-process">{{localize (m5concat "midgard5.kampfkunst-type-" item.type)}}</span>
|
|
{{#if (eq item.type "angriff")}}
|
|
<span class="spell-process">({{localize (m5concat "midgard5.kampfkunst-variante-" item.variante)}})</span>
|
|
{{/if}}
|
|
{{/if}}
|
|
</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-weapon-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 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.brawlFw}}</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> |