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

82 lines
2.7 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}}
<div class="flexrow">
2023-02-01 19:48:35 +01:00
<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>
2023-02-01 14:28:08 +01:00
</div>
<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>
<select id="bonusMalusSituation" name="bonusMalusSituation">
{{#select bonusMalusSituation}}
<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>