68 lines
2.9 KiB
Handlebars
68 lines
2.9 KiB
Handlebars
<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">
|
|
|
|
{{#if attr}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Attribute : </span>
|
|
<span class="roll-dialog-label">{{attr.label}} ( {{attr.value}} )</span>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Modifier : </span>
|
|
<select class="status-small-label color-class-common" type="text" id="attribute-modifier" value="{{attributeModifier}}" data-dtype="String" >
|
|
{{selectOptions config.attributeModifier selected=attributeModifier valueAttr="value" nameAttr="value" labelAttr="label"}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if skill}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Skill : </span>
|
|
<span class="roll-dialog-label">{{skill.name}} ( {{skill.total}}% )</span>
|
|
</div>
|
|
|
|
{{#if weapon}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Weapon : </span>
|
|
<span class="roll-dialog-label">{{weapon.name}}</span>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Above effective range ({{weapon.system.effectiverange}}, -30%) : </span>
|
|
<label class="attribute-value checkbox"><input type="checkbox" id="above-effective-range" {{checked isAboveEffectiveRange}}/></label>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Aiming : </span>
|
|
<select class="status-small-label color-class-common" type="text" id="weapon-aiming" value="{{weaponAiming}}" data-dtype="String" >
|
|
{{selectOptions config.weaponAiming selected=weaponAiming}}
|
|
</select>
|
|
</div>
|
|
{{else}}
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Synergy Bonus : </span>
|
|
<select class="status-small-label color-class-common" type="text" id="synergy-bonus" value="{{synergyBonus}}" data-dtype="N"umber >
|
|
{{selectOptions config.synergyBonus selected=synergyBonus}}
|
|
</select>
|
|
</div>
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Extra time (+30%): </span>
|
|
<input type="checkbox" id="extra-time" name="extraTime" {{checked extraTime}}/></label>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="flexrow">
|
|
<span class="roll-dialog-label">Bonus/Malus : </span>
|
|
<select class="status-small-label color-class-common" type="text" id="bonusMalus" value="{{bonusMalus}}" data-dtype="Number" >
|
|
{{selectOptions config.rollModifiers selected=bonusMalus valueAttr="value" nameAttr="value" labelAttr="label"}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</form> |