fvtt-malefices/templates/dialogs/roll-dialog-generic.hbs

93 lines
3.1 KiB
Handlebars
Raw Normal View History

2023-02-01 14:28:08 +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">
2023-02-01 19:48:35 +01:00
{{#if attr}}
2023-02-01 14:28:08 +01:00
<div class="flexrow">
2023-02-01 19:48:35 +01:00
<span class="roll-dialog-label">{{attr.label}} : </span>
2023-02-01 21:30:35 +01:00
<span class="roll-dialog-label">
{{attr.value}}
{{#if (eq attr.abbrev "physique")}}
{{#if phyMalus}}
({{phyMalus}})
{{/if}}
{{/if}}
</span>
2023-02-01 14:28:08 +01:00
</div>
{{/if}}
2023-02-06 16:05:59 +01:00
<div class="flexcol">
<span class="roll-dialog-label">Rappel des élements biographiques : </span>
<ul class="ul-level1 item-list alternate-list">
{{#each elementsbio as |elem key|}}
<li class="item flexrow">
<span class="roll-dialog-label">{{elem.name}}</span>
</li>
{{/each}}
</ul>
2023-02-01 14:28:08 +01:00
</div>
2023-02-06 16:08:11 +01:00
<div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus biographique : </span>
<select id="bonusMalusPerso" name="bonusMalusPerso">
{{#select bonusMalusPerso}}
<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>
{{/select}}
</select>
</div>
2023-02-01 14:28:08 +01:00
<div class="flexrow">
2023-02-01 19:48:35 +01:00
<span class="roll-dialog-label">Bonus/Malus de situation : </span>
<select id="bonusMalusSituation" name="bonusMalusSituation">
{{#select bonusMalusSituation}}
2023-02-01 14:28:08 +01:00
<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>
{{/select}}
</select>
</div>
2023-02-01 19:48:35 +01:00
{{#if arme}}
<div class="flexrow">
<span class="roll-dialog-label">Défense : </span>
2023-02-06 16:08:11 +01:00
<select id="bonusMalusDef" name="bonusMalusDef">
{{#select bonusMalusDef}}
2023-02-01 19:48:35 +01:00
<option value="-3">-6 (réussite critique)</option>
<option value="-3">-3 (réussite)</option>
<option value="0">0 (echec ou pas d'esquive)</option>
<option value="3">+3 (echec critique)</option>
{{/select}}
</select>
</div>
2023-02-02 23:59:41 +01:00
<div class="flexrow">
<span class="roll-dialog-label">Pörtée : </span>
<select id="bonusMalusPortee" name="bonusMalusPortee">
{{#select bonusMalusPortee}}
<option value="1">+1 (Portée courte)</option>
<option value="0">0 (Portée moyenne)</option>
<option value="-1">-1 (Portée longue)</option>
{{/select}}
</select>
</div>
2023-02-01 14:28:08 +01:00
{{/if}}
2023-02-01 21:30:35 +01:00
2023-02-01 14:28:08 +01:00
</div>
</form>