bol/templates/roll/roll-dialog-weapon.hbs

35 lines
1.8 KiB
Handlebars
Raw Normal View History

2021-11-01 00:28:42 +01:00
<form class="skill-roll-dialog">
2021-11-08 14:40:29 +01:00
{{#if defender}}
<div class="property flexrow">
2021-12-29 20:33:59 +01:00
<label class="property-label">{{localize "BOL.ui.defender"}} : </label>
2021-11-08 14:40:29 +01:00
<label class="property-label">{{defender.name}}</label>
</div>
<div class="property flexrow">
2021-12-29 20:33:59 +01:00
<label class="property-label">{{localize "BOL.ui.defenseScore"}}</label>
2021-11-08 14:40:29 +01:00
<label class="property-label">{{defender.data.aptitudes.def.value}}</label>
</div>
{{/if}}
{{> "systems/bol/templates/roll/parts/roll-dialog-attribute.hbs"}}
{{> "systems/bol/templates/roll/parts/roll-dialog-modifiers.hbs"}}
{{#if isRangedWeapon}}
<div class="property flexrow">
<label class="property-label">{{localize "Range Modifier"}}</label>
<input class="field-value center" id="rangeModifier" name="rangeModifier" type="text"
value="{{numberFormat rangeModifier decimals=0 sign=true}}" data-dtype="Number"
style="text-align: center"/>
<!-- <select id="rangeModifier" value="rangeModifier">-->
<!-- {{!#select rangeModifier}}-->
<!-- <option value="1">{{localize "BOL.range.PointBlank"}}</option>-->
<!-- <option value="0">{{localize "BOL.range.Short"}}</option>-->
<!-- <option value="-1">{{localize "BOL.range.Medium"}}</option>-->
<!-- <option value="-2">{{localize "BOL.range.Long"}}</option>-->
<!-- <option value="-4">{{localize "BOL.range.Very Long"}}</option>-->
<!-- <option value="-6">{{localize "BOL.range.Extreme"}}</option>-->
<!-- <option value="-8">{{localize "BOL.range.Maximum"}}</option>-->
<!-- {{!/select}}-->
<!-- </select>-->
</div>
{{/if}}
2021-11-01 22:23:43 +01:00
2021-11-01 00:28:42 +01:00
</form>