38 lines
1.2 KiB
Handlebars
Raw Normal View History

{{log "roll-dialog" this}}
2024-12-17 09:25:02 +01:00
<div class="fvtt-cthulhu-eternal-roll-dialog">
<fieldSet>
2024-12-18 18:45:47 +01:00
{{#if (eq rollType "skill")}}
2024-12-17 09:25:02 +01:00
<legend>{{localize "CTHULHUETERNAL.Label.skill"}}</legend>
2024-12-18 18:45:47 +01:00
{{/if}}
{{#if (eq rollType "char")}}
<legend>{{localize "CTHULHUETERNAL.Label.characteristic"}}</legend>
{{/if}}
2025-01-04 22:24:39 +01:00
2024-12-18 18:45:47 +01:00
<div class="dialog-skill">{{rollItem.name}} : {{initialScore}}%</div>
2025-01-04 22:24:39 +01:00
{{#if weapon}}
<div class="dialog-skill">Weapon : {{weapon.name}}</div>
{{/if}}
2024-12-22 23:04:15 +01:00
{{#if isZeroWP}}
<div class="dialog-skill red-warning">Zero WP : Automatic failure (ie 0%)</div>
2024-12-22 23:04:15 +01:00
{{else}}
{{#if isLowWP}}
<div class="dialog-skill orange-warning">Low WP : -20%</div>
2024-12-22 23:04:15 +01:00
{{/if}}
{{/if}}
</fieldSet>
2024-12-18 18:45:47 +01:00
2024-12-17 09:25:02 +01:00
<fieldSet class="dialog-modifier">
<legend>{{localize "CTHULHUETERNAL.Label.modifier"}}</legend>
<select name="modifier" class="roll-skill-modifier">
{{selectOptions choiceModifier selected=modifier}}
</select>
</fieldSet>
<fieldSet>
2024-12-17 09:25:02 +01:00
<legend>{{localize "CTHULHUETERNAL.Label.rollView"}}</legend>
<select name="visibility">
{{selectOptions rollModes selected=visibility}}
</select>
</fieldSet>
</div>