Arme : ajout du champ Type (Mêlée / Distance)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-29 17:05:28 +02:00
parent 5a8b151451
commit eceac4c122
5 changed files with 24 additions and 1 deletions

View File

@@ -6,6 +6,16 @@
<div class="item-header-fields">
<input type="text" name="name" value="{{item.name}}" {{#unless isEditable}}disabled{{/unless}}>
<div class="item-meta weapon-meta">
<div class="form-group">
<label>{{localize "CELESTOPOL.Weapon.type"}}</label>
<select name="system.type" {{#unless isEditable}}disabled{{/unless}}>
{{#each combatTypes as |ctype key|}}
<option value="{{key}}" {{#if (eq key ../system.type)}}selected{{/if}}>
{{localize ctype.label}}
</option>
{{/each}}
</select>
</div>
<div class="form-group">
<label>{{localize "CELESTOPOL.Weapon.degats"}}</label>
<select name="system.degats" {{#unless isEditable}}disabled{{/unless}}>