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-10 10:22:04 +02:00
|
|
|
|
2022-07-19 20:51:48 +02:00
|
|
|
<!--
|
2022-07-13 22:47:07 +02:00
|
|
|
{{#if isDamage}}
|
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>
|
2022-07-13 22:47:07 +02:00
|
|
|
<select class="roll-dialog-label" id="damageDiceLevel" type="text" name="damageDiceLevel"
|
|
|
|
value="{{damageDiceLevel}}" data-dtype="Number">
|
|
|
|
{{#select damageDiceLevel}}
|
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-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"
|
2022-07-10 10:22:04 +02:00
|
|
|
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-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"
|
|
|
|
src="{{dice.img}}"></a></span>
|
|
|
|
{{/each}}
|
|
|
|
</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="d12">Full cover d12</option>
|
|
|
|
<option value="none2">===== Cover Damage Resistance</option>
|
|
|
|
<option value="d4">Soft cover d4</option>
|
|
|
|
<option value="d6">Dense cover d16</option>
|
|
|
|
<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>
|
|
|
|
<option value="d12">Outnumbered 5 Extra Allies d1<option>
|
|
|
|
<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>
|
|
|
|
{{/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}}
|
|
|
|
|
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>
|