<form class="skill-roll-dialog"> <h2 class="compdialog" id="compdialogTitle"></h2> <div class="form-group"> <label for="categorie">Caractéristique </label> <select name="carac" id="carac" data-dtype="String"> {{#select carac}} {{#each carac as |caracitem key|}} <option value={{key}}>{{caracitem.label}}</option> {{/each}} {{/select}} </select> </div> <div class="form-group"> <label for="categorie">Difficulté libre</label> <select name="diffLibre" id="diffLibre" data-dtype="number"> {{#select diffLibre}} {{#each difficultesLibres as |key|}} <option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option> {{/each}} {{/select}} </select> <label for="categorie"> Conditions</label> <select name="diffConditions" id="diffConditions" data-dtype="number"> {{#select diffConditions}} {{#each ajustementsConditions as |key|}} <option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option> {{/each}} {{/select}} </select> </div> {{#if arme}} <div> <label>Arme : {{arme.name}}</label> <label>Degats : {{arme.data.dommagesReels}}</label> <label for="xp">Coups Non Mortels ? </label> <input class="attribute-value" type="checkbox" id="coupsNonMortels" name="coupsNonMortels" {{#if coupsNonMortels}}checked{{/if}}/> </div> {{#unless attackerRoll}} <div> <label>Est une charge ?</label> <input class="attribute-value" type="checkbox" id="isCharge" name="isCharge" {{#if isCharge}}checked{{/if}}/> </div> {{/unless}} {{/if}} {{>"systems/foundryvtt-reve-de-dragon/templates/dialog-roll-surenc.html"}} {{>"systems/foundryvtt-reve-de-dragon/templates/dialog-roll-natation.html"}} <div class="form-group etat-general"> <label for="categorie">Etat général</label><label>{{numberFormat etat decimals=0 sign=true}}</label> </div> <div class="form-group"> <label>Ajustement final : </label><label id="roll-param">10 / 0</label> <label name="addon-message" id="addon-message"></label> </div> <div id="resolutionTable"> </div> </form> <script> </script>