Files
fvtt-prism-rpg/templates/roll-dialog.hbs
T
2025-12-20 00:09:42 +01:00

65 lines
1.6 KiB
Handlebars

<div class="prismrpg-roll-dialog">
<fieldSet>
<legend>{{localize (concat "PRISMRPG.Label." rollType)}}
-
{{actorName}}</legend>
{{#if hasModifier}}
<div class="dialog-save">
<strong>{{upperFirst rollName}}</strong>
:
{{dice}}
+
{{baseValue}}
</div>
{{else}}
<div class="dialog-save">
<strong>{{upperFirst rollName}}</strong>
:
{{dice}}
</div>
{{/if}}
{{#if rollTarget.weapon}}
<div class="dialog-save">
{{localize "PRISMRPG.Label.weapon"}}
:
{{rollTarget.weapon.name}}
</div>
<div class="dialog-save">
{{localize "PRISMRPG.Label.skill"}}
:
{{rollTarget.name}}
</div>
{{/if}}
</fieldSet>
{{#if hasAdvantage}}
<fieldSet class="dialog-advantage">
<legend>{{localize "PRISMRPG.Roll.advantageDisadvantage"}}</legend>
<select
name="advantage"
class="advantage-choice"
data-tooltip-direction="UP"
>
{{selectOptions choiceAdvantage selected=advantage}}
</select>
</fieldSet>
{{/if}}
{{#if hasModifier}}
<fieldSet class="dialog-modifier">
<legend>{{localize "PRISMRPG.Roll.modifierBonusMalus"}}</legend>
<select name="modifier" data-tooltip-direction="UP">
{{selectOptions choiceModifier selected=modifier}}
</select>
</fieldSet>
{{/if}}
<fieldSet>
<legend>{{localize "PRISMRPG.Roll.visibility"}}</legend>
<select name="visibility">
{{selectOptions rollModes selected=visibility localize=true}}
</select>
</fieldSet>
</div>