86 lines
2.9 KiB
HTML
86 lines
2.9 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}}</h1>
|
|
</header>
|
|
|
|
<div class="flexcol">
|
|
|
|
{{#if stat}}
|
|
<div class="flexrow">
|
|
<span class="item-field-label-medium">{{localize stat.label}}</span>
|
|
<span class="item-field-label-medium">{{stat.value}}</span>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if weapon}}
|
|
<div class="flexrow">
|
|
<span class="item-field-label-medium">Weapon : </span>
|
|
<span class="item-field-label-medium">{{weapon.name}}</span>
|
|
{{#if (eq mode "damage")}}
|
|
<div class="flexrow">
|
|
<span class="item-field-label-medium">Damage : </span>
|
|
<span class="item-field-label-medium">{{weapon.damageFormula}}</span>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if shield}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Use shield ? : </span>
|
|
<span class="roll-dialog-label"><input type="checkbox" id="useshield" name="useshield" {{checked useshield}}/></span>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">{{shield.name}} : </span>
|
|
<span class="roll-dialog-label">{{shield.data.shielddie}}</span>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if power}}
|
|
<div class="flexrow">
|
|
<span class="item-field-label-medium">Power : </span>
|
|
<span class="item-field-label-medium">{{power.name}}</span>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="item-field-label-medium">Power Level : </span>
|
|
<select class="item-field-label-medium" type="text" id="powerLevel" value="{{powerLevel}}">
|
|
{{#select powerLevel}}
|
|
<option value="1">1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4_1">4 - 1</option>
|
|
<option value="4_2">4 - 2</option>
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if hasBM}}
|
|
<div class="flexrow">
|
|
<span class="item-field-label-medium">Bonus/Malus : </span>
|
|
<select class="item-field-label-medium" type="text" id="bonusMalus" value="{{bonusMalus}}">
|
|
{{#select bonusMalus}}
|
|
<option value="-6">-6</option>
|
|
<option value="-5">-5</option>
|
|
<option value="-4">-4</option>
|
|
<option value="-3">-3</option>
|
|
<option value="-2">-2</option>
|
|
<option value="-1">-1</option>
|
|
<option value="0">0</option>
|
|
<option value="1">1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4">4</option>
|
|
<option value="5">5</option>
|
|
<option value="6">6</option>
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</form> |