2023-12-11 20:11:10 +01:00
|
|
|
<form class="skill-roll-dialog">
|
|
|
|
<header class="roll-dialog-header">
|
|
|
|
{{#if img}}
|
|
|
|
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
|
|
{{/if}}
|
|
|
|
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="flexcol">
|
2024-05-31 09:23:01 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Caracteristique </span>
|
|
|
|
<span class="roll-dialog-label">{{carac.name}} : {{carac.qualite}} ({{carac.dice}})</span>
|
|
|
|
</div>
|
2023-12-11 20:11:10 +01:00
|
|
|
|
2024-05-31 09:23:01 +02:00
|
|
|
{{#if competence}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Compétence </span>
|
|
|
|
<span class="roll-dialog-label">{{competence.name}} ({{competence.system.score}})</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2024-07-08 07:54:53 +02:00
|
|
|
{{#if santeModifier}}
|
2024-05-31 09:23:01 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Malus Blessures </span>
|
2024-07-08 07:54:53 +02:00
|
|
|
<span class="roll-dialog-label">{{santeModifier}} niveaux</span>
|
2024-05-31 09:23:01 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Bonus/Malus : </span>
|
|
|
|
<select class="" type="text" id="roll-bonus-malus" value="{{bonusMalus}}" data-dtype="Number">
|
|
|
|
{{selectOptions config.bonusMalus selected=bonusMalus labelAttr="label" valueAttr="value" nameAttr="value"}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if providence.value}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Utiliser la Providence ({{providence.dice}})</span>
|
|
|
|
<input type="checkbox" id="roll-enable-providence" {{checked enableProvidence}} />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-12-11 20:11:10 +01:00
|
|
|
|
2024-09-13 22:14:21 +02:00
|
|
|
{{#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}}
|
2023-12-11 20:11:10 +01:00
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Difficulté : </span>
|
2024-07-10 22:59:38 +02:00
|
|
|
<select class="" type="text" id="roll-difficulty" value="{{difficulty}}" data-dtype="String">
|
|
|
|
{{selectOptions config.difficulte selected=difficulty valueAttr="key" labelAttr="label"}}
|
2023-12-11 20:11:10 +01:00
|
|
|
</select>
|
|
|
|
</div>
|
2024-09-13 22:14:21 +02:00
|
|
|
{{/if}}
|
2023-12-11 20:11:10 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|