Fix HP location and damages
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<div class="tab main" data-group="primary" data-tab="main">
|
||||
|
||||
<div class="flexrow">
|
||||
<ul class="stat-list alternate-list item-list">
|
||||
<ul class="stat-list alternate-list item-list stat-column-size">
|
||||
{{#each system.attributes as |attr key|}}
|
||||
<li class="item stat flexrow list-item list-item-shadow">
|
||||
<label class="item-field-label-medium">{{attr.label}}</label>
|
||||
@@ -38,7 +38,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="stat-list alternate-list item-list">
|
||||
<ul class="stat-list alternate-list item-list derivated-column-size">
|
||||
{{#each system.derivated as |deriv key|}}
|
||||
<li class="item stat flexrow list-item list-item-shadow">
|
||||
<label class="item-field-label-medium">{{deriv.label}}</label>
|
||||
@@ -60,6 +60,19 @@
|
||||
<label class="item-field-label-short"> / {{second.max}}</label>
|
||||
{{/if}}
|
||||
<input type="text" class="item-field-label-short padd-right" name="system.secondary.{{key}}.bonus" value="{{second.bonus}}" data-dtype="Number"/>
|
||||
|
||||
{{#if (eq key "hp")}}
|
||||
<ul class="stat-list alternate-list item-list hplocation-column">
|
||||
{{#each @root.system.hitlocations as |loc key|}}
|
||||
<li class="item stat flexrow list-item list-item-shadow">
|
||||
<label class="item-field-label-short">{{loc.label}}</label>
|
||||
<input type="text" class="item-field-label-short padd-right" name="system.hitlocations.{{key}}.value" value="{{loc.value}}" data-dtype="Number"/>
|
||||
<label class="item-field-label-short"> / {{loc.max}}</label>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
</li>
|
||||
<li class="item stat flexrow list-item list-item-shadow">
|
||||
|
||||
Reference in New Issue
Block a user