Files
2026-06-06 10:21:24 +02:00

76 lines
3.1 KiB
Handlebars

<div class="tab combat sheet-part" data-group="sheet" data-tab="combat">
<div class="grid grid-2col">
{{!-- Computed Values --}}
<div>
<h4 class="align-center">{{ localize 'VERMINE.computed_values' }}</h4>
<div class="stats-grid">
<div class="stat">
<label>{{ localize 'VERMINE.total_attack' }}:</label>
<span>{{ system.computed.attack }}</span>
</div>
<div class="stat">
<label>{{ localize 'ADVERSITY.damage' }}:</label>
<span>{{ system.computed.damage }}</span>
</div>
<div class="stat">
<label>{{ localize 'ADVERSITY.vigor' }}:</label>
<span>{{ system.computed.vigor }}</span>
</div>
<div class="stat">
<label>{{ localize 'ADVERSITY.reaction' }}:</label>
<span>{{ system.computed.reaction }}</span>
</div>
<div class="stat">
<label>{{ localize 'ADVERSITY.pools' }}:</label>
<span>{{ system.computed.pools }}</span>
</div>
<div class="stat">
<label>{{ localize 'ADVERSITY.protection' }}:</label>
<span>{{ system.computed.protection }}</span>
</div>
</div>
</div>
{{!-- Wounds --}}
<div>
<h4 class="item-name effect-name flexrow">{{ localize "VERMINE.wounds.name" }}</h4>
<ul class="unstyled">
<li class="row mdb">
{{ localize 'VERMINE.wounds.light' }} ({{ system.minorWound.threshold }}D)
{{#repeat system.minorWound.max }}
<input type="radio" data-dtype="Number" name="system.minorWound.value"
value="{{this}}" data-action="clickRadio" data-wound="minorWound"
{{#ife @root.system.minorWound.value this }}checked="checked"{{/ife}}
class="{{#iflteq this @root.system.minorWound.value }}checked{{/iflteq}}"
/>
{{/repeat}}
</li>
<li class="row mdb">
{{ localize 'VERMINE.wounds.heavy' }} ({{ system.majorWound.threshold }}D)
{{#repeat system.majorWound.max }}
<input type="radio" name="system.majorWound.value" value="{{this}}" data-action="clickRadio" data-wound="majorWound"
{{#ife @root.system.majorWound.value this }}checked="checked"{{/ife}}
class="{{#iflteq this @root.system.majorWound.value }}checked{{/iflteq}}"
/>
{{/repeat}}
</li>
<li class="row mdb">
{{ localize 'VERMINE.wounds.deadly' }} ({{ system.deadlyWound.threshold }}D)
{{#repeat system.deadlyWound.max }}
<input type="radio" name="system.deadlyWound.value" value="{{this}}" data-action="clickRadio" data-wound="deadlyWound"
{{#ife @root.system.deadlyWound.value this }}checked="checked"{{/ife}}
class="{{#iflteq this @root.system.deadlyWound.value }}checked{{/iflteq}}"
/>
{{/repeat}}
</li>
</ul>
</div>
</div>
{{!-- Equipment --}}
<div class="grid-span-2">
<h4>{{ localize 'VERMINE.gear' }}</h4>
{{editor system.equipment.description target="system.equipment.description" button=true owner=owner editable=editable}}
</div>
</div>