2020-05-24 20:19:57 +02:00
|
|
|
<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>
|
2020-12-16 23:02:15 +01:00
|
|
|
<label></label>
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2020-12-16 23:02:15 +01:00
|
|
|
{{#if attackerRoll}}
|
|
|
|
<label for="categorie">Difficulté</label>
|
|
|
|
<label>{{diffLibre}}</label>
|
|
|
|
{{else}}
|
2020-11-15 02:07:41 +01:00
|
|
|
<label for="categorie">Difficulté libre</label>
|
2020-12-15 08:37:52 +01:00
|
|
|
<select name="diffLibre" id="diffLibre" data-dtype="number" {{#unless editLibre}}disabled{{/unless}}>
|
2020-11-15 02:07:41 +01:00
|
|
|
{{#select diffLibre}}
|
|
|
|
{{#each difficultesLibres as |key|}}
|
|
|
|
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
2020-05-24 20:19:57 +02:00
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2020-12-16 23:02:15 +01:00
|
|
|
{{/if}}
|
2020-11-15 11:15:36 +01:00
|
|
|
<label for="categorie"> Conditions</label>
|
2020-12-15 08:37:52 +01:00
|
|
|
<select name="diffConditions" id="diffConditions" data-dtype="number" {{#unless editConditions}}disabled{{/unless}}>
|
2020-11-15 02:07:41 +01:00
|
|
|
{{#select diffConditions}}
|
|
|
|
{{#each ajustementsConditions as |key|}}
|
|
|
|
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2020-12-18 23:57:28 +01:00
|
|
|
<label class="diffMoral" for="categorie">Moral: {{#if (gt moral 0)}}+{{/if}}{{moral}}</label>
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
2020-06-07 23:16:29 +02:00
|
|
|
{{#if arme}}
|
2020-12-16 23:02:15 +01:00
|
|
|
<div class="form-group">
|
|
|
|
{{#if attackerRoll}}
|
|
|
|
{{#if attackerRoll.tactique}}
|
|
|
|
<label for="categorie">Tactique: {{attackerRoll.tactique}}</label>
|
|
|
|
{{/if}}
|
|
|
|
<label for="categorie">Dégats:</label><label id="dmg-arme-actor"></label>
|
|
|
|
<label></label>
|
|
|
|
{{else}}
|
|
|
|
<label for="categorie">Tactique:</label>
|
|
|
|
<select name="tactique-combat" id="tactique-combat" data-dtype="String" {{#unless editConditions}}disabled{{/unless}}>
|
|
|
|
<option value="Attaque normale">Attaque normale</option>
|
|
|
|
<option value="charge">Charge</option>
|
|
|
|
<option value="feinte">Feinte</option>
|
|
|
|
</select>
|
|
|
|
<label for="categorie">Dégats:</label><label id="dmg-arme-actor"></label>
|
|
|
|
<label>Non Mortel</label>
|
|
|
|
<input class="attribute-value" type="checkbox" id="coupsNonMortels" name="coupsNonMortels" {{#if coupsNonMortels}}checked{{/if}}/>
|
|
|
|
{{/if}}
|
|
|
|
{{#if surpriseDefenseur}}
|
|
|
|
<label for="categorie" id="defenseur-surprise"></label>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2020-06-07 23:16:29 +02:00
|
|
|
{{/if}}
|
2020-06-01 23:50:10 +02:00
|
|
|
<div class="form-group">
|
2020-12-16 23:02:15 +01:00
|
|
|
<label for="categorie">Etat général:</label><label>{{numberFormat etat decimals=0 sign=true}}</label>
|
|
|
|
<label>Ajustement final:</label><label id="roll-param">10 / 0</label> <label name="addon-message" id="addon-message"></label>
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
2020-12-16 23:02:15 +01:00
|
|
|
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/dialog-roll-surenc.html"}}
|
2020-12-20 21:54:09 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/dialog-roll-enctotal.html"}}
|
2020-12-15 23:54:09 +01:00
|
|
|
<div id="resolutionTable">
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
2020-12-15 23:54:09 +01:00
|
|
|
<div id="resolutionValeurs">
|
|
|
|
</div>
|
|
|
|
|
2020-05-24 20:19:57 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
</script>
|