Files
fvtt-prism-rpg/templates/combat-action-dialog.hbs
2025-11-05 20:35:04 +01:00

25 lines
921 B
Handlebars

<div class="prismrpg-combat-action-dialog">
<fieldSet class="">
<legend>{{localize "PRISMRPG.Label.combatAction"}} for {{actorName}}</legend>
{{#if currentAction}}
<label>{{localize "PRISMRPG.Label.currentAction"}} : {{currentAction.name}}</label>
<label>{{localize "PRISMRPG.Label.rollProgressionCount"}} : {{currentAction.progressionCount}}</label>
{{else}}
<label>{{localize "PRISMRPG.Label.selectAction"}} : Choose a weapon to attack or a spell/miracle to cast</label>
<select name="selectedChoice" data-tooltip-direction="UP">
{{selectOptions weaponsChoices selected=selectedChoice valueAttr="id" labelAttr="name"}}
</select>
{{/if}}
</fieldSet>
<fieldSet>
<legend>{{localize "PRISMRPG.Roll.visibility"}}</legend>
<select name="visibility">
{{selectOptions rollModes selected=visibility localize=true}}
</select>
</fieldSet>
</div>