41 lines
1.3 KiB
Handlebars
41 lines
1.3 KiB
Handlebars
{{log "roll-dialog" this}}
|
|
<div class="lethalfantasy-roll-dialog">
|
|
|
|
<fieldSet>
|
|
{{#if (eq rollType "challenge")}}
|
|
<legend>{{localize "LETHALFANTASY.Label.challenge"}}</legend>
|
|
{{else}}
|
|
<legend>{{localize "LETHALFANTASY.Label.save"}}</legend>
|
|
{{/if}}
|
|
{{#if hasModifier}}
|
|
<div class="dialog-save">{{upperCase rollTarget.rollKey}} : {{baseFormula}} + {{baseValue}}</div>
|
|
{{else}}
|
|
<div class="dialog-save">{{upperCase rollTarget.rollKey}} : {{baseFormula}}</div>
|
|
{{/if}}
|
|
</fieldSet>
|
|
|
|
{{#if hasModifier}}
|
|
<fieldSet class="dialog-modifier">
|
|
<legend>{{localize "LETHALFANTASY.Roll.modifierBonusMalus"}}</legend>
|
|
<select name="modifier" data-tooltip-direction="UP">
|
|
{{selectOptions choiceModifier selected=modifier}}
|
|
</select>
|
|
</fieldSet>
|
|
{{/if}}
|
|
|
|
{{#if hasChangeDice}}
|
|
<fieldSet class="dialog-modifier">
|
|
<legend>{{localize "LETHALFANTASY.Roll.changeDice"}}</legend>
|
|
<select name="changeDice" data-tooltip-direction="UP">
|
|
{{selectOptions choiceDice selected=changeDice}}
|
|
</select>
|
|
</fieldSet>
|
|
{{/if}}
|
|
|
|
<fieldSet>
|
|
<legend>{{localize "LETHALFANTASY.Roll.visibility"}}</legend>
|
|
<select name="visibility">
|
|
{{selectOptions rollModes selected=visibility}}
|
|
</select>
|
|
</fieldSet>
|
|
</div> |