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-09-21 16:54:34 +02:00
|
|
|
<h1 class="dialog-roll-title roll-dialog-header">{{title}} {{#if vehicle}} from {{vehicle.name}} {{/if}}</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-07-13 22:47:07 +02:00
|
|
|
{{#if isGeneric}}
|
|
|
|
|
|
|
|
{{else}}
|
2022-01-28 10:05:54 +01:00
|
|
|
<div class="flexrow">
|
2022-09-25 09:26:12 +02:00
|
|
|
<span class="roll-dialog-label">{{upper stat.label}} :</span>
|
2022-07-10 10:22:04 +02:00
|
|
|
<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-09-25 09:26:12 +02:00
|
|
|
{{#if statVehicle}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">{{upper statVehicle.label}} :</span>
|
|
|
|
<select class="roll-dialog-label" id="statVehicleLevel" type="text" name="statVehicleLevel"
|
|
|
|
value="{{statVehicle.currentlevel}}" data-dtype="Number" {{#if statKey}}disabled{{/if}}>
|
|
|
|
{{#select statVehicle.currentlevel}}
|
|
|
|
{{{optionsDiceList}}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
<span class="small-label"> </span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2022-07-13 22:47:07 +02:00
|
|
|
{{#if specList}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<span class="roll-dialog-label">Spec : </span>
|
|
|
|
<select class="roll-dialog-label" id="specList" type="text" name="selectedSpec" value="{{selectedSpec}}"
|
|
|
|
data-dtype="String">
|
|
|
|
{{#select selectedSpec}}
|
|
|
|
<option value="0">None</option>
|
|
|
|
{{#each specList as |spec idx|}}
|
|
|
|
<option value="{{spec._id}}">{{spec.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
<span class="small-label"> </span>
|
|
|
|
</div>
|
2022-07-21 22:52:17 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<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}}>
|
|
|
|
{{#select specDicesLevel}}
|
|
|
|
{{{optionsDiceList}}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
<span class="small-label"> </span>
|
|
|
|
</div>
|
2022-07-13 22:47:07 +02:00
|
|
|
{{/if}}
|
2022-03-06 20:07:41 +01:00
|
|
|
|
2022-07-13 22:47:07 +02:00
|
|
|
{{/if}}
|
2022-07-19 20:51:48 +02:00
|
|
|
|
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|}}
|
2022-07-19 00:18:46 +02:00
|
|
|
<span><a class="pool-remove-dice" data-dice-idx="{{idx}}" data-dice-level="{{dice.level}}" data-dice-key="{{dice.key}}"><img class="dice-pool-image"
|
2023-09-13 08:06:08 +02:00
|
|
|
src="{{dice.img}}" alt="dices"></a></span>
|
2022-07-10 10:22:04 +02:00
|
|
|
{{/each}}
|
2022-01-28 10:05:54 +01:00
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
</div>
|
|
|
|
|
2022-08-14 15:27:54 +02:00
|
|
|
{{#if noBonusDice}}
|
|
|
|
<div class="flexrow">
|
|
|
|
No bonus dice due to effect !
|
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="flexrow">
|
|
|
|
{{#each diceList as |dice idx|}}
|
|
|
|
<span><a class="pool-add-dice" data-dice-key="{{dice.key}}" data-dice-level="{{dice.level}}"><img class="dice-pool-image"
|
2023-09-13 08:06:08 +02:00
|
|
|
src="{{dice.img}}" alt="dices"></a></span>
|
2022-08-14 15:27:54 +02:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-09-13 08:06:08 +02:00
|
|
|
|
|
|
|
{{#if hindranceDices}}
|
|
|
|
<div class="dice-pool-div">
|
|
|
|
<span>
|
2023-09-13 17:37:30 +02:00
|
|
|
<h3 class="dice-pool-label">Hindrance Dice</h3>
|
2023-09-13 08:06:08 +02:00
|
|
|
</span>
|
|
|
|
<div class="flexrow dice-pool-stack">
|
|
|
|
{{#for 1 hindranceDices 1}}
|
|
|
|
<span><a class="" data-dice-idx="{{idx}}" data-dice-level="2" data-dice-key="d6"><img class="dice-pool-image"
|
|
|
|
src="systems/fvtt-pegasus-rpg/images/dice/hindrance-dice.png" alt="dices"></a></span>
|
|
|
|
{{/for}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2022-07-10 10:22:04 +02:00
|
|
|
|
2022-09-27 17:18:41 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
|
|
|
|
<span class="roll-dialog-label">Modifiers : </span>
|
|
|
|
<select class="roll-dialog-label" id="modifiers" type="text" name="modifiers" value="{{modifiers}}"
|
|
|
|
data-dtype="String">
|
|
|
|
{{#select modifiers}}
|
|
|
|
<option value="none">None</option>
|
|
|
|
<option value="none0">==== Combat Arcs</option>
|
|
|
|
<option value="d4">Combat Arc Flank (Grey) d4</option>
|
|
|
|
<option value="d6">Combat Arc Blind Spot (Red) d6</option>
|
|
|
|
<option value="none1">===== Cover defence</option>
|
2022-09-28 13:43:36 +02:00
|
|
|
<option value="d4">Slight cover d4</option>
|
2022-09-27 17:18:41 +02:00
|
|
|
<option value="d8">Half cover d8</option>
|
|
|
|
<option value="d12">Full cover d12</option>
|
|
|
|
<option value="none2">===== Cover Damage Resistance</option>
|
|
|
|
<option value="d4">Soft cover d4</option>
|
2022-09-30 11:55:45 +02:00
|
|
|
<option value="d6">Dense cover d6</option>
|
2022-09-27 17:18:41 +02:00
|
|
|
<option value="d8">Light cover d8</option>
|
|
|
|
<option value="d10">Thick cover d10</option>
|
|
|
|
<option value="d12">Solid cover d12</option>
|
|
|
|
<option value="none3">===== Outnumbered</option>
|
|
|
|
<option value="d4">Outnumbered 1 Extra Ally d4</option>
|
|
|
|
<option value="d6">Outnumbered 2 Extra Allies d6</option>
|
|
|
|
<option value="d8">Outnumbered 3 Extra Allies d8</option>
|
|
|
|
<option value="d10">Outnumbered 4 Extra Allies d10</option>
|
2022-09-30 11:55:45 +02:00
|
|
|
<option value="d12">Outnumbered 5 Extra Allies d12<option>
|
2022-09-27 17:18:41 +02:00
|
|
|
<option value="none4">===== Called DMG Shot Bonus</option>
|
|
|
|
<option value="d12">Eyes/head d12<option>
|
|
|
|
<option value="none4">===== Impact DMG Bonus</option>
|
|
|
|
<option value="d4">Soft d4<option>
|
|
|
|
<option value="d6">Thin/Flimsy d6<option>
|
|
|
|
<option value="d8">Solid Furniture d8<option>
|
|
|
|
<option value="d10">Thin Metal/Thick Wood d10<option>
|
|
|
|
<option value="d12">Solid Object/Concrete d12<option>
|
|
|
|
<option value="none5">===== Other Circumstances</option>
|
|
|
|
<option value="d4">Concentrated<option>
|
|
|
|
<option value="d4">Off Hand d4<option>
|
2022-11-27 18:54:52 +01:00
|
|
|
<option value="d6">Higher Ground d6</option>
|
2022-09-27 17:18:41 +02:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2022-01-13 16:13:00 +01:00
|
|
|
</div>
|
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
<div>
|
2022-08-14 15:27:54 +02:00
|
|
|
{{#if isChatRoll}}
|
|
|
|
|
|
|
|
{{else}}
|
2022-01-28 10:05:54 +01:00
|
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-select-effects.html}}
|
2022-08-14 15:27:54 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2023-09-13 17:37:30 +02:00
|
|
|
{{#if isInit}}
|
2023-09-16 10:16:59 +02:00
|
|
|
{{#each TICs as |tic index|}}
|
2023-09-13 17:37:30 +02:00
|
|
|
<div class="flexrow">
|
2023-09-16 10:16:59 +02:00
|
|
|
<span class="roll-dialog-label">TIC {{add index 1}}:</span>
|
|
|
|
<input class="roll-input-tic" id="roll-input-tic{{index}}" type="text" value="{{tic.text}}" data-dtype="String">
|
2023-09-13 17:37:30 +02:00
|
|
|
</div>
|
2023-09-16 10:16:59 +02:00
|
|
|
{{/each}}
|
2023-09-13 17:37:30 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2022-01-28 10:05:54 +01:00
|
|
|
</div>
|
2022-01-13 16:13:00 +01:00
|
|
|
|
|
|
|
</div>
|
2022-07-10 10:22:04 +02:00
|
|
|
|
|
|
|
</form>
|