fvtt-hero-system-6/templates/partials/partial-actor-full-charac.hbs

40 lines
1.6 KiB
Handlebars

<li class="item stat flexrow list-item list-item-shadow" data-attr-key="{{key}}">
<input type="text" class="item-field-label-medium" name="system.characteristics.{{key}}.value"
value="{{charac.value}}" data-dtype="Number" />
<span class="item-field-label-medium" name="{{key}}">
<h4 class="item-field-label-medium margin-item-list">{{charac.label}}</a></h4>
</span>
<h4 class="item-field-label-short margin-item-list">{{charac.base}}</h4>
{{#if charac.hasroll}}
<h4 class="item-field-label-short margin-item-list"><a class="roll-charac" data-charac-key="{{key}}"><i
class="fas fa-dice"></i>{{charac.roll}}-</a></h4>
{{else}}
<h4 class="item-field-label-short margin-item-list">&nbsp;</h4>
{{/if}}
<input type="text" class="item-field-label-long2" name="system.characteristics.{{key}}.notes" value="{{charac.notes}}"
data-dtype="String" />
{{#if charac.lift}}
<h4 class="item-field-label-short margin-item-list">&nbsp;&nbsp;</h4>
<h4 class="item-field-label-short margin-item-list">{{charac.lift}}</h4>
<h4 class="item-field-label-short margin-item-list"><a class="roll-lift-dice" data-charac-key="{{key}}"><i
class="fas fa-dice"></i>{{charac.liftDice}}</a></h4>
<select class="actor-computer-str-end" name="system.characteristics.str.strendmode"
value="{{charac.strendmode}}">
{{#select charac.strendmode}}
<option value="str20">STR/20 (half normal)</option>
<option value="str10">STR/10 (normal, half heroic)</option>
<option value="str5">STR/5 (heroic)</option>
<option value="0">0</option>
{{/select}}
</select>
{{/if}}
</li>