162 lines
6.1 KiB
HTML
162 lines
6.1 KiB
HTML
<form class="skill-roll-dialog">
|
|
<header class="roll-dialog-header">
|
|
{{#if img}}
|
|
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
{{/if}}
|
|
<h1 class="dialog-roll-title roll-dialog-header">{{title}} {{#if vehicle}} from {{vehicle.name}} {{/if}}</h1>
|
|
</header>
|
|
|
|
<div class="grid grid-2col">
|
|
|
|
<div class="flexcol">
|
|
|
|
{{#if isGeneric}}
|
|
|
|
{{else}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">{{upper stat.label}} :</span>
|
|
<select class="roll-dialog-label" id="statDicesLevel" type="text" name="statDicesLevel"
|
|
value="{{statDicesLevel}}" data-dtype="Number" {{#if statKey}}disabled{{/if}}>
|
|
{{#select statDicesLevel}}
|
|
{{{optionsDiceList}}}
|
|
{{/select}}
|
|
</select>
|
|
<span class="small-label"> + {{statMod}}</span>
|
|
</div>
|
|
|
|
{{#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}}
|
|
|
|
{{#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>
|
|
<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>
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
<!--
|
|
{{#if isDamage}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Weapon Damage :</span>
|
|
<select class="roll-dialog-label" id="damageDiceLevel" type="text" name="damageDiceLevel"
|
|
value="{{damageDiceLevel}}" data-dtype="Number">
|
|
{{#select damageDiceLevel}}
|
|
{{{optionsDiceList}}}
|
|
{{/select}}
|
|
</select>
|
|
<span class="small-label"> </span>
|
|
</div>
|
|
{{/if}}
|
|
-->
|
|
|
|
<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-level="{{dice.level}}" data-dice-key="{{dice.key}}"><img class="dice-pool-image"
|
|
src="{{dice.img}}"></a></span>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
|
|
{{#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}}
|
|
|
|
<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>
|
|
<option value="d4">Slight cover d4</option>
|
|
<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>
|
|
<option value="d6">Dense cover d6</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 d12<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>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
{{#if isChatRoll}}
|
|
|
|
{{else}}
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-select-effects.html}}
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form> |