This repository has been archived on 2024-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-warhero/templates/roll-dialog-generic.html

99 lines
3.4 KiB
HTML
Raw Permalink Normal View History

2023-01-04 21:24:56 +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}}
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
</header>
<div class="flexcol">
{{#if weapon}}
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="roll-dialog-long">Weapon : </span>
2023-01-29 18:32:30 +01:00
<span class="item-field-label-medium">{{weapon.name}}</span>
{{#if (eq mode "damage")}}
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="roll-dialog-long">Damage : </span>
2023-01-29 18:32:30 +01:00
<span class="item-field-label-medium">{{weapon.damageFormula}}</span>
</div>
{{/if}}
2023-01-04 21:24:56 +01:00
</div>
{{/if}}
2023-02-06 07:37:39 +01:00
{{#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}}
2023-01-04 21:24:56 +01:00
{{#if shield}}
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="roll-dialog-long">Use shield ? : </span>
<span class="roll-dialog-label">
<input type="checkbox" id="useshield" name="useshield" {{checked useshield}}/>
</span>
2023-01-04 21:24:56 +01:00
</div>
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="roll-dialog-long">{{shield.name}} : </span>
2023-01-04 21:24:56 +01:00
<span class="roll-dialog-label">{{shield.data.shielddie}}</span>
</div>
{{/if}}
2023-01-29 18:32:30 +01:00
{{#if power}}
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="item-field-label-long">Power : </span>
2023-01-29 18:32:30 +01:00
<span class="item-field-label-medium">{{power.name}}</span>
</div>
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="item-field-label-long">Power Level : </span>
2023-01-29 18:32:30 +01:00
<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}}
2023-01-04 21:24:56 +01:00
<div class="flexrow">
2023-02-06 07:37:39 +01:00
<span class="roll-dialog-long">Bonus/Malus : </span>
2023-01-29 16:56:09 +01:00
<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>
2023-01-04 21:24:56 +01:00
{{/select}}
</select>
</div>
2023-01-29 18:32:30 +01:00
{{/if}}
</div>
2023-01-04 21:24:56 +01:00
</form>