2020-11-28 19:12:19 +01:00
|
|
|
<div class="border grid-container" style="height: 100%; border-top: none; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr;">
|
|
|
|
<div class="combat border">
|
|
|
|
<ul class="items">
|
|
|
|
<ul class="items-list">
|
2020-12-01 17:30:39 +01:00
|
|
|
<li class="item-nor flexrow">
|
2020-11-28 19:12:19 +01:00
|
|
|
<div class="item-name" style="flex-grow: 8;">{{localize "MOD.INIT"}}</div>
|
2021-07-28 13:08:19 +02:00
|
|
|
<div class="item-value" style="flex: none;"><input name="data.combat.init" class="skill-value" type="number" value="{{data.data.combat.init}}" data-dtype="Number" /></div>
|
2020-11-28 19:12:19 +01:00
|
|
|
</li>
|
|
|
|
|
2021-07-28 13:08:19 +02:00
|
|
|
<li class="item-defence flexrow" data-defence="{{data.data.combat.defence}}">
|
|
|
|
<div class="item-name roll-defence rollable" data-defence="{{data.data.combat.defence}}" style="flex-grow: 8;">{{localize "ADVERSARY.DEFENCE"}}</div>
|
|
|
|
<div class="item-value" style="flex: none;"><input name="data.combat.defence" class="skill-value" type="text" value="{{data.data.combat.defence}}" /></div>
|
2020-11-28 19:12:19 +01:00
|
|
|
</li>
|
2020-12-01 17:30:39 +01:00
|
|
|
<li class="item-nor flexrow">
|
2020-11-28 19:12:19 +01:00
|
|
|
<div class="item-name" style="flex-grow: 8;">{{localize "ADVERSARY.HASHELMET"}}</div>
|
|
|
|
<div style="align-self: flex-end">
|
2021-07-28 13:08:19 +02:00
|
|
|
<a style="margin: auto;" class="adversary-helmet-click {{#if data.data.combat.helmet}}active{{/if}}">
|
|
|
|
<i class="far {{#if data.data.combat.helmet}}fa-times-circle{{else}}fa-circle{{/if}}"></i>
|
2020-11-28 19:12:19 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
|
2020-12-01 17:30:39 +01:00
|
|
|
<li class="item-nor flexrow">
|
2021-07-28 13:08:19 +02:00
|
|
|
<div class="item-name roll-adversary-armor rollable" data-armor="{{data.data.combat.armor}}" style="flex-grow: 8;">{{localize "ITEM.DEFENCE"}}</div>
|
|
|
|
<div class="item-value" style="flex: none;"><input name="data.combat.armor" class="skill-value" type="text" value="{{data.data.combat.armor}}" /></div>
|
2020-11-28 19:12:19 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="talents border" style="grid-row: 1/3; grid-column-start: 2;">
|
|
|
|
<h1 style="margin-bottom: 0; grid-column: 1/4;">{{localize "TAB.SKILLS"}}</h1>
|
|
|
|
<ul class="items">
|
|
|
|
<ul class="items-list">
|
|
|
|
{{#each actor.skills as |skill key|}}
|
2020-12-01 17:30:39 +01:00
|
|
|
<li class="item-skill flexrow" data-item-id="{{skill._id}}">
|
2020-11-28 19:12:19 +01:00
|
|
|
<div class="item-name roll-skill rollable" style="flex-grow: 8;">{{skill.name}}</div>
|
2021-07-28 13:08:19 +02:00
|
|
|
<div class="item-value" style="flex: none;"><input class="skill-value" type="number" value="{{skill.data.value}}" min="0" data-item-id="{{skill.id}}" data-dtype="Number" /></div>
|
2020-12-04 20:50:46 +01:00
|
|
|
<div class="item-controls">
|
|
|
|
<a class="item-control item-delete" data-parent=".item-skill" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
2020-11-28 19:12:19 +01:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="attacks border">
|
|
|
|
<ul class="items">
|
|
|
|
<li class="items-header flexrow">
|
|
|
|
<div class="header-name">{{localize "ITEM.ATTACK"}}</div>
|
|
|
|
<div class="">{{localize "ITEM.SKILL"}}</div>
|
|
|
|
<div>{{localize "ITEM.DAMAGE"}}</div>
|
|
|
|
<div></div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<ul class="items-list">
|
|
|
|
{{#each actor.attacks as |item key|}}
|
2020-12-01 17:30:39 +01:00
|
|
|
<li class="item-attack flexrow" data-item-id="{{item._id}}" data-ability="{{item.data.skill.value}}">
|
2020-11-28 19:12:19 +01:00
|
|
|
<div class="item-name">{{item.name}}</div>
|
|
|
|
<div class="skill-roll">
|
|
|
|
<div class="roll-button">
|
|
|
|
<div class="roll-adversary-attack rollable">{{item.data.skill.value}}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="skill-roll">
|
|
|
|
<div class="roll-button">
|
2020-12-01 17:30:39 +01:00
|
|
|
<div class="roll-attack-damage rollable">{{item.data.damage.value}}</div>
|
2020-11-28 19:12:19 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item-controls">
|
2020-12-01 17:30:39 +01:00
|
|
|
<a class="item-control item-edit" data-parent=".item-attack" title="Edit Item"><i class="fas fa-edit"></i></a>
|
|
|
|
<a class="item-control item-delete" data-parent=".item-attack" title="Delete Item"><i class="fas fa-trash"></i></a>
|
2020-11-28 19:12:19 +01:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|