99 lines
3.4 KiB
HTML
99 lines
3.4 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 weapon}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-long">Weapon : </span>
|
|
<span class="item-field-label-medium">{{weapon.name}}</span>
|
|
{{#if (eq mode "damage")}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-long">Damage : </span>
|
|
<span class="item-field-label-medium">{{weapon.damageFormula}}</span>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if stat}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-long">{{localize stat.label}}</span>
|
|
{{#if (eq mode "save")}}
|
|
<span class="item-field-label-medium">{{stat.save}}</span>
|
|
{{else}}
|
|
<span class="item-field-label-medium">{{stat.value}}</span>
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if stat.istxc}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-long">Multiple weapons malus ({{mWeaponMalus}})? </span>
|
|
<span class="item-field-label-medium"><input type="checkbox" id="usemWeaponMalus" name="usemWeaponMalus" {{checked usemWeaponMalus}}/></span>
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if shield}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-long">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-long">{{shield.name}} : </span>
|
|
<span class="roll-dialog-label">{{shield.data.shielddie}}</span>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if power}}
|
|
<div class="flexrow">
|
|
<span class="item-field-label-long">Power : </span>
|
|
<span class="item-field-label-medium">{{power.name}}</span>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="item-field-label-long">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="roll-dialog-long">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> |