68 lines
2.3 KiB
Handlebars
68 lines
2.3 KiB
Handlebars
<div class="lethalfantasy-roll-dialog">
|
|
|
|
<fieldSet class="">
|
|
<legend>{{localize (concat "LETHALFANTASY.Label." rollType)}}</legend>
|
|
|
|
{{#if (match rollType "attack")}}
|
|
<div class="dialog-save">Attack roll !</div>
|
|
{{/if}}
|
|
{{#if (match rollType "defense")}}
|
|
<div class="dialog-save">Attack roll !</div>
|
|
{{/if}}
|
|
|
|
{{#if hasModifier}}
|
|
<div class="dialog-save">{{upperCase rollName}} : {{baseFormula}} + {{baseValue}}</div>
|
|
{{else}}
|
|
<div class="dialog-save">{{upperCase rollName}} : {{baseFormula}}</div>
|
|
{{/if}}
|
|
{{#if rollTarget.weapon}}
|
|
<div class="dialog-save">{{localize "LETHALFANTASY.Label.baseModifier"}} : {{rollTarget.charModifier}}</div>
|
|
<div class="dialog-save">{{localize "LETHALFANTASY.Label.weapon"}} : {{rollTarget.weapon.name}}</div>
|
|
<div class="dialog-save">{{localize "LETHALFANTASY.Label.skill"}} : {{rollTarget.name}}</div>
|
|
<div class="dialog-save">{{localize "LETHALFANTASY.Label.skillBonus"}} : {{rollTarget.weaponSkillModifier}}</div>
|
|
{{/if}}
|
|
</fieldSet>
|
|
|
|
{{#if hasFavor}}
|
|
<fieldSet class="dialog-favor">
|
|
<legend>{{localize "LETHALFANTASY.Roll.favorDisfavor"}}</legend>
|
|
<select name="favor" class="favor-choice" data-tooltip-direction="UP">
|
|
{{selectOptions choiceFavor selected=favor}}
|
|
</select>
|
|
</fieldSet>
|
|
{{/if}}
|
|
|
|
{{#if hasModifier}}
|
|
<fieldSet class="dialog-modifier">
|
|
<legend>{{localize "LETHALFANTASY.Roll.modifierBonusMalus"}}</legend>
|
|
<select name="modifier" data-tooltip-direction="UP">
|
|
{{selectOptions choiceModifier selected=modifier}}
|
|
</select>
|
|
|
|
{{#if (eq rollType "save")}}
|
|
{{#if rollTarget.magicUser}}
|
|
<div>
|
|
<span>Save against spell (+{{rollTarget.actorModifiers.saveModifier}}) ?</span>
|
|
<input type="checkbox" name="saveSpell" value="saveSpell">
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
</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> |