fvtt-pegasus-rpg/templates/roll-dialog-weapon.html

57 lines
2.1 KiB
HTML
Raw Normal View History

2021-12-02 07:38:59 +01:00
<form class="skill-roll-dialog">
<header class="roll-dialog-header">
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
</header>
<div class="flexcol">
<div class="flexrow">
<span class="roll-dialog-label" >Select Skill : </span>
<select class="roll-dialog-label" id="skillKey" type="text" name="skillKey" value="{{skillKey}}" data-dtype="String">
{{#select skillKey}}
{{#each weapon.data.skills as |skill key|}}
<option value="{{key}}">{{skill.name}} ({{skill.data.level}}) - {{skill.data.attr.label}}</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label" >Specialties reminder : </span>
<span class="roll-dialog-label" >{{skill.data.specialties}}</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label" >Specialties Dices Bonus : </span>
<select class="roll-dialog-label" id="specialtiesBonus" type="text" name="specialtiesBonus" value="{{specialtiesBonus}}" data-dtype="Number">
{{#select specialtiesBonus}}
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label" >Negative Modifier :</span>
<select class="roll-dialog-label" id="negativeModifier" type="text" name="negativeModifier" value="{{negativeModifier}}" data-dtype="Number">
{{#select negativeModifier}}
{{{optionsNegative}}}
{{/select}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label" >Positive Modifier :</span>
<select class="roll-dialog-label" id="positiveModifier" type="text" name="positiveModifier" value="{{positiveModifier}}" data-dtype="Number">
{{#select positiveModifier}}
{{{optionsPositive}}}
{{/select}}
</select>
</div>
</div>
</form>