Files
fvtt-malefices/templates/items/item-arme-sheet.hbs

58 lines
2.4 KiB
Handlebars

<section class="{{cssClass}}" autocomplete="off">
{{> systems/fvtt-malefices/templates/items/partial-item-header.hbs this}}
{{> systems/fvtt-malefices/templates/items/partial-item-nav.hbs this}}
<section class="sheet-body">
{{> systems/fvtt-malefices/templates/items/partial-item-description.hbs this}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="item-details">
<ul>
<li class="flexrow">
<label class="item-field-label-long">Type d'arme</label>
<select class="item-field-label-long" name="system.armetype" data-dtype="String">
{{selectOptions config.armeTypes selected=system.armetype}}
</select>
</li>
<li class="flexrow">
<label class="item-field-label-long">Portée courte (max)</label>
<input type="text" class="item-field-label-short" name="system.porteecourte" value="{{system.porteecourte}}" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Portée moyenne (max)</label>
<input type="text" class="item-field-label-short" name="system.porteemoyenne" value="{{system.porteemoyenne}}" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Dommages normaux</label>
<input type="number" class="item-field-label-short" name="system.dommagenormale" value="{{system.dommagenormale}}" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Dommages particuliers</label>
<input type="number" class="item-field-label-short" name="system.dommagepart" value="{{system.dommagepart}}" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Dommages critiques</label>
<input type="number" class="item-field-label-short" name="system.dommagecritique" value="{{system.dommagecritique}}" />
</li>
<li class="flexrow">
<label class="item-field-label-long">Critiques mortels ?</label>
<input type="checkbox" name="system.dommagecritiquemort" {{checked system.dommagecritiquemort}} />
<label class="item-field-label-long">Critiques KO ?</label>
<input type="checkbox" name="system.dommagecritiqueKO" {{checked system.dommagecritiqueKO}} />
</li>
</ul>
</div>
</div>
</section>
</section>