Enhance armes+armures
This commit is contained in:
@ -40,12 +40,37 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if arme}}
|
||||
{{#if isTir}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Portée : </span>
|
||||
<select class="" type="text" id="roll-portee-tir" value="{{porteeTir}}" data-dtype="String">
|
||||
{{#select porteeTir}}
|
||||
{{#each config.ARME_PORTEES as |portee key|}}
|
||||
<option value="{{key}}">{{portee.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Viser : </span>
|
||||
<input type="checkbox" id="roll-tir-viser" {{checked isViser}} />
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Cible petite/en mouvement : </span>
|
||||
<input type="checkbox" id="roll-tir-mouvement" {{checked isMouvement}} />
|
||||
</div>
|
||||
{{else}}
|
||||
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Difficulté : </span>
|
||||
<select class="" type="text" id="roll-difficulty" value="{{difficulty}}" data-dtype="String">
|
||||
{{selectOptions config.difficulte selected=difficulty valueAttr="key" labelAttr="label"}}
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user