<div class="fvtt-ftl-nomad-roll-dialog">

  <fieldSet>

    {{#if (eq rollType "skill")}}
    <legend>{{localize "HELLBORN.Label.skill"}}</legend>
    {{/if}}

    <div class="dialog-skill">{{localize rollItem.label}} : 2d6+{{rollItem.value}}</div>

    {{#if weapon}}
    <div class="dialog-skill">Weapon : {{weapon.name}}</div>
    {{/if}}

    {{#if isEncumbered}}
    <div class="dialog-skill red-warning">Encumbered : -1D</div>
    {{/if}}

  </fieldSet>

  <fieldSet class="dialog-modifier">
    <legend>{{localize "HELLBORN.Label.modifier"}}</legend>

    <select name="modifier" class="roll-skill-modifier">
      {{selectOptions choiceModifier selected=modifier localize=true}}
    </select>

      {{#if weapon}}
      <select name="range-modifier" class="roll-skill-range-modifier">
        {{selectOptions choiceRangeModifier selected=rangeModifier}}
      </select>
      <ul>
        <li>Two Attacks : <input type="checkbox" name="isAiming" data-field="two-attacks" class="select-combat-option"></li>
        <li>Aiming : <input type="checkbox" data-field="aiming" class="select-combat-option"></li>
        <li>Dim Lightning : <input type="checkbox" data-field="dim" class="select-combat-option"></li>
        <li>Darkness : <input type="checkbox" data-field="darkness" class="select-combat-option"></li>
        <li>Target Prone/Obscured : <input type="checkbox" data-field="prone" class="select-combat-option"></li>
        <li>Target Cover : <input type="checkbox" data-field="cover" class="select-combat-option"></li>
        <li>1/2 Auto Fire Recoil : <input type="checkbox" data-field="recoil-first" class="select-combat-option"></li>
        <li>2+ Auto Fire Recoil : <input type="checkbox" data-field="recoil-third" class="select-combat-option"></li>
        <li>Target Aware : <input type="checkbox" data-field="aware" class="select-combat-option"></li>
      </ul>
    {{/if}}

  </fieldSet>

  <fieldSet class="dialog-formula">
    <legend>{{localize "HELLBORN.Label.formula"}}</legend>
    <label name="fullFormula" id="roll-dialog-full-formula" >{{fullFormula}}</label>
  </fieldSet>

  <fieldSet>
    <legend>{{localize "HELLBORN.Label.rollView"}}</legend>
    <select name="visibility">
      {{selectOptions rollModes selected=visibility}}
    </select>
  </fieldSet>

</div>