38 lines
1.2 KiB
Handlebars
38 lines
1.2 KiB
Handlebars
{{log "roll-dialog" this}}
|
|
<div class="fvtt-cthulhu-eternal-roll-dialog">
|
|
<fieldSet>
|
|
{{#if (eq rollType "skill")}}
|
|
<legend>{{localize "CTHULHUETERNAL.Label.skill"}}</legend>
|
|
{{/if}}
|
|
{{#if (eq rollType "char")}}
|
|
<legend>{{localize "CTHULHUETERNAL.Label.characteristic"}}</legend>
|
|
{{/if}}
|
|
|
|
<div class="dialog-skill">{{rollItem.name}} : {{initialScore}}%</div>
|
|
|
|
{{#if weapon}}
|
|
<div class="dialog-skill">Weapon : {{weapon.name}}</div>
|
|
{{/if}}
|
|
|
|
{{#if isZeroWP}}
|
|
<div class="dialog-skill red-warning">Zero WP : Automatic failure (ie 0%)</div>
|
|
{{else}}
|
|
{{#if isLowWP}}
|
|
<div class="dialog-skill orange-warning">Low WP : -20%</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
</fieldSet>
|
|
|
|
<fieldSet class="dialog-modifier">
|
|
<legend>{{localize "CTHULHUETERNAL.Label.modifier"}}</legend>
|
|
<select name="modifier" class="roll-skill-modifier">
|
|
{{selectOptions choiceModifier selected=modifier}}
|
|
</select>
|
|
</fieldSet>
|
|
<fieldSet>
|
|
<legend>{{localize "CTHULHUETERNAL.Label.rollView"}}</legend>
|
|
<select name="visibility">
|
|
{{selectOptions rollModes selected=visibility}}
|
|
</select>
|
|
</fieldSet>
|
|
</div> |