This repository has been archived on 2023-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-avd12/templates/dialogs/roll-dialog-generic.hbs

84 lines
2.7 KiB
Handlebars
Raw Normal View History

2022-10-17 15:20:18 +02: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 skill}}
<div class="flexrow">
<span class="roll-dialog-label">Skill : </span>
2022-11-27 16:06:26 +01:00
<span class="roll-dialog-label">{{skill.name}} ({{skill.finalvalue}})</span>
2022-10-17 15:20:18 +02:00
</div>
{{/if}}
2023-01-24 20:26:59 +01:00
{{#if crafting}}
<div class="flexrow">
<span class="roll-dialog-label">Crafting : </span>
<span class="roll-dialog-label">{{crafting.name}} ({{crafting.system.level}})</span>
</div>
{{/if}}
2023-01-22 20:27:22 +01:00
{{#if weapon}}
<div class="flexrow">
<span class="roll-dialog-label">Weapon Attack Bonus : </span>
<span class="roll-dialog-label">{{weapon.attackBonus}}</span>
</div>
{{/if}}
{{#if spell}}
<div class="flexrow">
<span class="roll-dialog-label">Spell : </span>
<span class="roll-dialog-label">{{spell.name}} ({{upperFirst spell.system.level}} - Cost : {{spellCost}})</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Spell Attack level : </span>
<span class="roll-dialog-label">{{spellAttack}}</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Spell Damage level : </span>
<span class="roll-dialog-label">{{spellDamage}}</span>
</div>
{{/if}}
2022-10-17 15:20:18 +02:00
<div class="flexrow">
2022-11-27 16:06:26 +01:00
<span class="roll-dialog-label">Bonus/Malus : </span>
<select id="bonusMalusRoll" name="bonusMalusRoll">
{{#select bonusMalusRoll}}
<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>
2022-10-17 15:20:18 +02:00
{{/select}}
2022-11-27 16:06:26 +01:00
</select>
2022-10-17 15:20:18 +02:00
</div>
2023-01-23 20:51:06 +01:00
{{#if (or spell weapon)}}
2022-12-20 17:47:46 +01:00
{{else}}
2022-10-17 15:20:18 +02:00
<div class="flexrow">
2022-11-27 16:06:26 +01:00
<span class="roll-dialog-label">Target check : </span>
<select id="targetCheck" name="targetCheck">
{{#select targetCheck}}
<option value="none">None</option>
<option value="5">5 (Trivial)</option>
<option value="7">7 (Easy)</option>
<option value="10">10 (Regular)</option>
<option value="14">14 (Difficult)</option>
<option value="20">20 (Heroic)</option>
2022-10-17 15:20:18 +02:00
{{/select}}
2022-11-27 16:06:26 +01:00
</select>
2022-10-17 15:20:18 +02:00
</div>
2022-12-20 17:47:46 +01:00
{{/if}}
2022-10-17 15:20:18 +02:00
</div>
</form>