32 lines
1005 B
Handlebars
32 lines
1005 B
Handlebars
<form class="awemmy-roll-dialog">
|
|
|
|
{{! Attribute name + base modifier (read-only) }}
|
|
<div class="dialog-row check-label">
|
|
<span class="attr-name">{{attrLabel}}</span>
|
|
<span class="base-modifier">
|
|
{{#if (gt modifier 0)}}+{{modifier}}{{else}}{{modifier}}{{/if}}
|
|
</span>
|
|
</div>
|
|
|
|
{{! Situational bonus / penalty }}
|
|
<div class="dialog-row">
|
|
<label for="awe-bonus">{{localize "AWEMMY.Roll.SituationalBonus"}}</label>
|
|
<input type="number" id="awe-bonus" name="bonus" value="0" />
|
|
</div>
|
|
|
|
{{! DC (optional) }}
|
|
<div class="dialog-row">
|
|
<label for="awe-dc">{{localize "AWEMMY.Roll.DC"}}</label>
|
|
<input type="number" id="awe-dc" name="dc" value="{{dc}}" placeholder="—" />
|
|
</div>
|
|
|
|
{{! Roll visibility }}
|
|
<div class="dialog-row">
|
|
<label for="awe-visibility">{{localize "AWEMMY.Roll.Visibility"}}</label>
|
|
<select id="awe-visibility" name="visibility">
|
|
{{selectOptions rollModes selected=visibility localize=true}}
|
|
</select>
|
|
</div>
|
|
|
|
</form>
|