forked from public/fvtt-cthulhu-eternal
61 lines
2.1 KiB
Handlebars
61 lines
2.1 KiB
Handlebars
|
{{log "roll-dialog" this}}
|
||
|
<div class="tenebris-roll-dialog">
|
||
|
{{#if isSave}}
|
||
|
<fieldSet>
|
||
|
<legend>{{localize "TENEBRIS.Label.sauvegarde"}}</legend>
|
||
|
<div class="dialog-save">{{formula}}</div>
|
||
|
</fieldSet>
|
||
|
<fieldSet class="dialog-avantages">
|
||
|
<legend>{{localize "TENEBRIS.Roll.avantagesDesavantages"}}</legend>
|
||
|
<input
|
||
|
type="range"
|
||
|
name="avantages"
|
||
|
min="1"
|
||
|
max="5"
|
||
|
value="{{rangeAdvantage}}"
|
||
|
data-tooltip="Double désavantage - Désavantage - Normal - Avantage - Double avantage"
|
||
|
data-tooltip-direction="UP"
|
||
|
data-tooltip-class="tooltip-avantages"
|
||
|
/>
|
||
|
<input id="selectAvantages" name="selectAvantages" readonly value="{{rollAdvantage}}">
|
||
|
</fieldSet>
|
||
|
<div class="dialog-aide-gene">
|
||
|
<fieldSet>
|
||
|
<legend>{{localize "TENEBRIS.Roll.aide"}}</legend>
|
||
|
<select name="aide">
|
||
|
{{selectOptions choiceAide}}
|
||
|
</select>
|
||
|
</fieldSet>
|
||
|
<fieldSet>
|
||
|
<legend>{{localize "TENEBRIS.Roll.gene"}}</legend>
|
||
|
<select name="gene">
|
||
|
{{selectOptions choiceGene}}
|
||
|
</select>
|
||
|
</fieldSet>
|
||
|
</div>
|
||
|
<fieldSet class="dialog-modificateur">
|
||
|
<legend>{{localize "TENEBRIS.Roll.adversite"}}</legend>
|
||
|
<select name="modificateur" {{#if hasTarget}}data-tooltip="Cible : {{targetName}}" data-tooltip-direction="UP"{{/if}}>
|
||
|
{{selectOptions choiceModificateur selected=malus}}
|
||
|
</select>
|
||
|
</fieldSet>
|
||
|
{{/if}}
|
||
|
{{#if (or isDamage isAttack)}}
|
||
|
<fieldSet>
|
||
|
<legend>{{localize "TENEBRIS.Label.degats"}}</legend>
|
||
|
<div class="dialog-damage">{{damageDice}} {{#if damageDiceLowered}}limités par les dégâts max à {{damageDiceFinal}} {{/if}}</div>
|
||
|
</fieldSet>
|
||
|
{{/if}}
|
||
|
{{#if isResource}}
|
||
|
<fieldSet>
|
||
|
<legend>{{localize "TENEBRIS.Label.ressource"}}</legend>
|
||
|
<div class="dialog-resource">{{formula}}</div>
|
||
|
</fieldSet>
|
||
|
{{/if}}
|
||
|
<fieldSet>
|
||
|
<legend>{{localize "TENEBRIS.Roll.visibilite"}}</legend>
|
||
|
<select name="visibility">
|
||
|
{{selectOptions rollModes selected=visibility}}
|
||
|
</select>
|
||
|
</fieldSet>
|
||
|
</div>
|