234 lines
9.5 KiB
Handlebars
234 lines
9.5 KiB
Handlebars
|
|
<div class="flexbox">
|
|
|
|
<div class="flexcolumn-3">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/magic/time/arrows-circling-pink.webp" class="flexpart-icon">{{localize "midgard5.calculated-values"}}</div>
|
|
<table>
|
|
<tr height = 10px></tr>
|
|
<tr>
|
|
<td>{{localize "midgard5.movementRange"}}</td>
|
|
<td class="fixed-value">{{data.calc.stats.movement.value}}</td>
|
|
<td></td>
|
|
<td class="fixed-value"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{{localize "midgard5.initiative"}}</td>
|
|
<td class="fixed-value">
|
|
{{#if (isSkillInList (localizeMidgard "anfuehren") data.calc.skills.general)}}
|
|
{{skillEwInList (localizeMidgard "anfuehren") data.calc.skills.general}}
|
|
{{else}}
|
|
{{skillEw actor._id data.skills.general.anfuehren}}
|
|
{{/if}}
|
|
</td>
|
|
<td>{{localize "midgard5.actionrank"}}</td>
|
|
<td class="fixed-value"><a class="join-combat">{{data.calc.attributes.gw.value}}</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flexcolumn-3">
|
|
<div class="flexpart" style="padding: 0 0.5rem;">
|
|
<div class="flexpart-header">{{localize "midgard5.actionrank"}}</div>
|
|
<button class="wide-button join-combat">{{localize "midgard5.combat-join"}}</button>
|
|
<button class="wide-button ranged-combat">{{localize "midgard5.combat-ranged"}}</button>
|
|
<button class="wide-button spell-combat">{{localize "midgard5.combat-spell"}}</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flexcolumn-3">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/magic/life/cross-worn-green.webp" class="flexpart-icon">{{localize "TYPES.Item.effect"}}</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.effect"}}</th>
|
|
<td><a class="title add-effect"><i class="fa-regular fa-plus"></i></a></th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.gear.effects as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="items">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding">
|
|
<span class="edit-item">{{item.label}}</span>
|
|
{{#if item.equipped}}
|
|
<span class="spell-process">{{localize "midgard5.active"}}</span>
|
|
{{#unless (or (eq item.duration.unit "") (eq item.duration.unit "limitless"))}}
|
|
<span class="spell-process">{{item.duration.time}} {{localize (concat "midgard5.time-" item.duration.unit)}}</span>
|
|
{{/unless}}
|
|
{{/if}}
|
|
</td>
|
|
{{!--{{#unless (eq item.label "Belastung")}}--}}
|
|
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
{{!--{{/unless}}--}}
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="flexcolumn-3">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/skills/melee/hand-grip-sword-white-brown.webp" class="flexpart-icon">{{localize "midgard5.attack"}}</div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.weapon"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title">{{localize "midgard5.damage"}}</th>
|
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
|
<td><a class="title add-weapon"><i class="fa-regular fa-plus"></i></a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.gear.weapons as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="item">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding edit-item {{#if item.special}}highlight{{/if}}">{{item.label}}{{#if item.special}}(*){{/if}}</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td class="fixed-value">{{item.damageBase}}</td>
|
|
<td><button class="roll-button roll-weapon-button"></button></td>
|
|
<td><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"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "midgard5.weapon-skill"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
|
<th><a class="title add-combat-skill"><i class="fa-regular fa-plus"></i></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.skills.combat as |skill skillId|}}
|
|
<tr data-item-id="{{skillId}}" class="item">
|
|
<td class="flexpart-img"><img src={{skill.icon}} class="flexpart-icon"></td>
|
|
<td class="padding edit-item">{{skill.label}}</td>
|
|
<td class="fixed-value">{{skill.calc.ew}}</td>
|
|
<td><button class="roll-button roll-learned-button"></button></td>
|
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flexcolumn-3">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/skills/melee/shield-block-gray-orange.webp" class="flexpart-icon">{{localize "midgard5.defense"}}</div>
|
|
<table>
|
|
<tr height = 10px></tr>
|
|
<tr>
|
|
<td class="padding highlight">{{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>
|
|
</tr>
|
|
<tr>
|
|
<td class="padding highlight">{{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>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="padding highlight">{{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>
|
|
</tr>
|
|
</table>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.defensiveWeapon"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
|
<th><a class="title add-defensiveWeapon"><i class="fa-regular fa-plus"></i></a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.gear.defensiveWeapons as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="item">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding edit-item">{{item.label}}</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td><button class="roll-button roll-weapon-button"></button></td>
|
|
<td><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"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.armor"}}</th>
|
|
<th class="title">{{localize "midgard5.actor-lp-short"}}</th>
|
|
<th><a class="title add-armor"><i class="fa-regular fa-plus"></i></a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.gear.armor as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="item">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding edit-item">{{item.label}}</td>
|
|
<td class="fixed-value">{{lpProtection}}</td>
|
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
{{#if actor.system.info.magicUsing }}
|
|
<div class="flexcolumn-3">
|
|
<div class="flexpart">
|
|
<div class="flexpart-header"><img src="icons/magic/symbols/star-inverted-yellow.webp" class="flexpart-icon">{{localize "TYPES.Item.spell"}}</div>
|
|
<table>
|
|
<tr height = 10px></tr>
|
|
<tr>
|
|
<td class="padding highlight">{{localize "midgard5.spellCasting"}}</td>
|
|
<td class="center">{{data.calc.stats.spellCasting.value}}</td>
|
|
<td class="fixed-value"><button class="roll-button roll-defense-button"></button></td>
|
|
</tr>
|
|
</table>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="title"><img src="/icons/svg/eye.svg" class="table-icon"></th>
|
|
<th class="title">{{localize "TYPES.Item.spell"}}</th>
|
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
|
<th><a class="title add-spell"><i class="fa-regular fa-plus"></i></a></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="items-list">
|
|
{{#each data.calc.spells as |item itemId|}}
|
|
<tr data-item-id="{{itemId}}" class="item">
|
|
<td class="flexpart-img"><img src={{item.icon}} class="flexpart-icon"></td>
|
|
<td class="padding edit-item {{#if item.special}}highlight{{/if}}">{{item.label}}{{#if item.special}}(*){{/if}}</td>
|
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
<td><button class="roll-button roll-weapon-button"></button></td>
|
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|