2023-01-04 21:24:56 +01:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
<header class="sheet-header">
|
|
|
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
|
|
|
<div class="header-fields">
|
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2023-01-04 22:09:09 +01:00
|
|
|
{{> systems/fvtt-warhero/templates/partial-item-nav.html}}
|
2023-01-04 21:24:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
|
2023-01-04 22:09:09 +01:00
|
|
|
{{> systems/fvtt-warhero/templates/partial-item-description.html}}
|
2023-01-04 21:24:56 +01:00
|
|
|
|
|
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
|
|
|
|
|
|
<div class="tab" data-group="primary">
|
|
|
|
<ul>
|
2023-02-08 21:19:53 +01:00
|
|
|
<li class="flexrow"><label class="item-field-label-long ">Type</label>
|
2023-01-04 22:21:49 +01:00
|
|
|
<select class="item-field-label-medium " type="text" name="system.weapontype" value="{{system.weapontype}}" data-dtype="String">
|
2023-01-04 22:09:09 +01:00
|
|
|
{{#select system.weapontype}}
|
|
|
|
{{#each config.weaponTypes as |type key|}}
|
2023-01-04 22:21:49 +01:00
|
|
|
<option value="{{key}}">{{localize type.label}}</option>
|
2023-01-04 21:24:56 +01:00
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</li>
|
2023-02-08 21:19:53 +01:00
|
|
|
|
|
|
|
{{#if (eq system.weapontype "special")}}
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong2 ">Raw Roll Formula (ex: 1d20+@statistics.str.value)</label>
|
|
|
|
<input type="text" class="item-field-label-long " name="system.rollformula" value="{{system.rollformula}}" data-dtype="String"/>
|
|
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong2 ">Raw Damage Formula (ex: 1d6+(@statistics.str.value/2))</label>
|
|
|
|
<input type="text" class="item-field-label-long " name="system.damageformula" value="{{system.damageformula}}" data-dtype="String"/>
|
|
|
|
</li>
|
|
|
|
{{else}}
|
|
|
|
<li class="flexrow"><label class="item-field-label-long ">Damage</label>
|
2023-01-04 22:21:49 +01:00
|
|
|
<input type="text" class="item-field-label-medium " name="system.damage" value="{{system.damage}}" data-dtype="String"/>
|
2023-01-04 21:24:56 +01:00
|
|
|
</li>
|
2023-02-08 21:19:53 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if (eq system.weapontype "polearm")}}
|
|
|
|
<li class="flexrow"><label class="item-field-label-long ">Damage 2 arms</label>
|
|
|
|
<input type="text" class="item-field-label-medium " name="system.damage2hands" value="{{system.damage2hands}}" data-dtype="String"/>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-01-04 21:24:56 +01:00
|
|
|
|
2023-01-06 17:45:36 +01:00
|
|
|
{{> systems/fvtt-warhero/templates/partial-item-common-equipment.html}}
|
2023-01-04 21:24:56 +01:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</form>
|