63 lines
2.3 KiB
HTML
63 lines
2.3 KiB
HTML
<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">{{ame.label}} ({{ame.value}})</h1>
|
|
</header>
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Malus : {{ameMalus}}</span>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Utiliser l'Archetype ? : </span>
|
|
<input class="ame-checkbox" id="select-use-archetype" type="checkbox" {{checked useArchetype}}>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Aide d'un autre personnage ? : </span>
|
|
<input class="ame-checkbox" id="select-use-aide" type="checkbox" {{checked useAide}}>
|
|
</div>
|
|
{{#if karma}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Utiliser une capacité : </span>
|
|
<select class="roll-dialog-label" id="select-capacite" type="text" name="usedCapacite" value="{{usedCapacite}}"
|
|
data-dtype="Number">
|
|
{{#select usedCapacite}}
|
|
<option value="none">Aucune</option>
|
|
{{#each capacites as |capa key|}}
|
|
<option value="{{capa._id}}">{{capa.name}} ({{capa.system.aide}})</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Utiliser 1 Point de Karma ? : </span>
|
|
<input class="ame-checkbox" id="select-use-karma" type="checkbox" {{checked useKarma}}>
|
|
</div>
|
|
{{/if}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Total : <span id="ame-total">{{ame.value}}</span>d8</span>
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Dés de Réalité : </span>
|
|
<select class="roll-dialog-label" id="select-realite-dice" type="text" name="realiteDice" value="{{realiteDice}}"
|
|
data-dtype="Number">
|
|
{{#select realiteDice}}
|
|
<option value="0">0</option>
|
|
<option value="1">1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4">4</option>
|
|
<option value="5">5</option>
|
|
<option value="6">6</option>
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</form> |