2022-01-13 16:13:00 +01:00
|
|
|
<form class="skill-roll-dialog">
|
|
|
|
<header class="roll-dialog-header">
|
|
|
|
{{#if img}}
|
|
|
|
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
|
|
{{/if}}
|
2022-07-10 10:22:04 +02:00
|
|
|
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
2022-01-13 16:13:00 +01:00
|
|
|
</header>
|
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="grid grid-2col">
|
2022-01-13 16:13:00 +01:00
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="flexcol">
|
2022-01-13 16:13:00 +01:00
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="flexrow">
|
2022-07-10 10:22:04 +02:00
|
|
|
<span class="roll-dialog-label">Stat Dice : </span>
|
|
|
|
<select class="roll-dialog-label" id="statDicesLevel" type="text" name="statDicesLevel"
|
|
|
|
value="{{statDicesLevel}}" data-dtype="Number" {{#if statKey}}disabled{{/if}}>
|
2022-01-28 10:05:54 +01:00
|
|
|
{{#select statDicesLevel}}
|
|
|
|
{{{optionsDiceList}}}
|
|
|
|
{{/select}}
|
2022-07-10 10:22:04 +02:00
|
|
|
</select>
|
2022-01-28 10:05:54 +01:00
|
|
|
<span class="small-label"> + {{statMod}}</span>
|
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
{{#if specList}}
|
|
|
|
<div class="flexrow">
|
2022-07-10 10:22:04 +02:00
|
|
|
<span class="roll-dialog-label">Spec : </span>
|
|
|
|
<select class="roll-dialog-label" id="specList" type="text" name="selectedSpec" value="{{selectedSpec}}"
|
|
|
|
data-dtype="String">
|
2022-01-28 11:41:19 +01:00
|
|
|
{{#select selectedSpec}}
|
2022-01-28 10:05:54 +01:00
|
|
|
<option value="0">None</option>
|
2022-07-10 10:22:04 +02:00
|
|
|
{{#each specList as |spec idx|}}
|
|
|
|
<option value="{{spec._id}}">{{spec.name}}</option>
|
|
|
|
{{/each}}
|
2022-01-28 10:05:54 +01:00
|
|
|
{{/select}}
|
2022-07-10 10:22:04 +02:00
|
|
|
</select>
|
2022-01-28 10:05:54 +01:00
|
|
|
<span class="small-label"> </span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-03-06 20:07:41 +01:00
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="flexrow">
|
2022-07-10 10:22:04 +02:00
|
|
|
<span class="roll-dialog-label">Spec Dice : </span>
|
|
|
|
<select class="roll-dialog-label" id="specDicesLevel" type="text" name="specDicesLevel"
|
|
|
|
value="{{specDicesLevel}}" data-dtype="Number" {{#if specList}}disabled{{/if}}>
|
2022-01-28 10:05:54 +01:00
|
|
|
{{#select specDicesLevel}}
|
|
|
|
{{{optionsDiceList}}}
|
|
|
|
{{/select}}
|
2022-07-10 10:22:04 +02:00
|
|
|
</select>
|
2022-01-28 10:05:54 +01:00
|
|
|
<span class="small-label"> </span>
|
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="flexrow">
|
2022-07-10 10:22:04 +02:00
|
|
|
<span class="roll-dialog-label">Weapon Damage :</span>
|
|
|
|
<select class="roll-dialog-label" id="otherDicesLevel" type="text" name="otherDicesLevel"
|
|
|
|
value="{{otherDicesLevel}}" data-dtype="Number">
|
|
|
|
{{#select otherDicesLevel}}
|
2022-01-28 10:05:54 +01:00
|
|
|
{{{optionsDiceList}}}
|
|
|
|
{{/select}}
|
2022-07-10 10:22:04 +02:00
|
|
|
</select>
|
2022-01-28 10:05:54 +01:00
|
|
|
<span class="small-label"> </span>
|
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
|
|
|
<div class="dice-pool-div">
|
|
|
|
<span>
|
|
|
|
<h3 class="dice-pool-label">Current pool</h3>
|
|
|
|
</span>
|
|
|
|
<div class="flexrow dice-pool-stack">
|
|
|
|
{{#each dicePool as |dice idx|}}
|
|
|
|
<span><a class="pool-remove-dice" data-dice-idx="{{idx}}" data-dice-key="{{dice.key}}"><img class="dice-pool-image"
|
|
|
|
src="{{dice.img}}"></a></span>
|
|
|
|
{{/each}}
|
2022-01-28 10:05:54 +01:00
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
</div>
|
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="flexrow">
|
2022-07-10 10:22:04 +02:00
|
|
|
{{#each diceList as |dice idx|}}
|
|
|
|
<span><a class="pool-add-dice" data-dice-key="{{dice.key}}"><img class="dice-pool-image"
|
|
|
|
src="{{dice.img}}"></a></span>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
|
2022-01-13 16:13:00 +01:00
|
|
|
</div>
|
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div>
|
|
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-select-effects.html}}
|
|
|
|
</div>
|
2022-01-13 16:13:00 +01:00
|
|
|
|
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
|
|
|
</form>
|