This commit is contained in:
2022-01-14 14:49:16 +01:00
parent e2140274d4
commit 4afa62df4c
10 changed files with 366 additions and 454 deletions

View File

@@ -1,55 +1,16 @@
<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="floxrow">
<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>
<span class="roll-dialog-label" >{{stat.label}} : {{stat.dice}} (+{{stat.mod}})</span>
</div>
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-common-dices.html}}
</div>