2020-05-24 20:19:57 +02:00
|
|
|
<form class="skill-roll-dialog">
|
|
|
|
<h2 class="compdialog" id="compdialogTitle"></h2>
|
|
|
|
<div class="form-group">
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Caractéristique </label>
|
2020-05-24 20:19:57 +02:00
|
|
|
<select name="carac" id="carac" data-dtype="String">
|
|
|
|
{{#select carac}}
|
|
|
|
{{#each carac as |caracitem key|}}
|
|
|
|
<option value={{key}}>{{caracitem.label}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2021-03-16 21:49:21 +01:00
|
|
|
|
|
|
|
<label class="diffMoral">Moral: {{#if (gt moral 0)}}+{{/if}}{{moral}}</label>
|
|
|
|
<div class="tooltipAppelAuMoral divAppelAuMoral">
|
|
|
|
<img class="imgAppelAuMoral small-button-container" src="/systems/foundryvtt-reve-de-dragon/icons/moral-neutre.svg">
|
|
|
|
<span class="tooltipAppelAuMoralText">Sans appel au moral</span>
|
|
|
|
</div>
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2020-12-16 23:02:15 +01:00
|
|
|
{{#if attackerRoll}}
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Difficulté</label>
|
2020-12-16 23:02:15 +01:00
|
|
|
<label>{{diffLibre}}</label>
|
|
|
|
{{else}}
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Difficulté libre</label>
|
2021-01-13 03:11:03 +01:00
|
|
|
<select name="diffLibre" id="diffLibre" data-dtype="number" {{#unless use.libre}}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}}
|
2021-03-16 21:49:21 +01:00
|
|
|
<label> Conditions</label>
|
2021-01-13 03:11:03 +01:00
|
|
|
<select name="diffConditions" id="diffConditions" data-dtype="number" {{#unless use.conditions}}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-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}}
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Tactique: {{attackerRoll.tactique}}</label>
|
2020-12-16 23:02:15 +01:00
|
|
|
{{/if}}
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Dégats:</label><label id="dmg-arme-actor"></label>
|
2020-12-16 23:02:15 +01:00
|
|
|
<label></label>
|
|
|
|
{{else}}
|
2021-02-10 11:42:43 +01:00
|
|
|
<span class="tooltip">
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Tactique:</label>
|
2021-02-10 11:42:43 +01:00
|
|
|
<select name="tactique-combat" id="tactique-combat" data-dtype="String" {{#unless use.conditions}}disabled{{/unless}}>
|
|
|
|
<option value="Attaque normale">Attaque normale</option>
|
|
|
|
<option value="charge">Charge</option>
|
|
|
|
<option value="feinte">Feinte</option>
|
|
|
|
</select>
|
|
|
|
<div class="tooltiptext ttt-ajustements">
|
|
|
|
<div>
|
|
|
|
<strong>Charge</strong> : Les longueurs d'armes n'interviennent pas dans la charge, il faut gérer une initiative aléatoire dans ce cas.
|
|
|
|
<br><strong>Feinte</strong> : Vous devez avoir l'initative sur votre adversaire et y renoncer.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
2021-03-16 21:49:21 +01:00
|
|
|
<label>Dégats:</label><label id="dmg-arme-actor"></label>
|
2020-12-16 23:02:15 +01:00
|
|
|
<label>Non Mortel</label>
|
|
|
|
<input class="attribute-value" type="checkbox" id="coupsNonMortels" name="coupsNonMortels" {{#if coupsNonMortels}}checked{{/if}}/>
|
|
|
|
{{/if}}
|
2021-01-13 03:42:13 +01:00
|
|
|
{{#if ajustements.attaqueDefenseurSurpris.used}}
|
2021-03-16 21:49:21 +01:00
|
|
|
<label id="defenseur-surprise">{{ajustements.attaqueDefenseurSurpris.label}}</label>
|
2020-12-16 23:02:15 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2020-06-07 23:16:29 +02:00
|
|
|
{{/if}}
|
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"}}
|
2021-01-05 18:43:13 +01:00
|
|
|
|
|
|
|
<div id="tableAjustements">
|
|
|
|
</div>
|
|
|
|
<div id="tableResolution">
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
2021-01-05 18:43:13 +01:00
|
|
|
<div id="tableProbaReussite">
|
2020-12-15 23:54:09 +01:00
|
|
|
</div>
|
|
|
|
|
2020-05-24 20:19:57 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
</script>
|