2020-05-24 20:19:57 +02:00
|
|
|
<form class="skill-roll-dialog">
|
2021-04-20 23:16:18 +02:00
|
|
|
<h2 class="dialog-roll-title"></h2>
|
2021-03-16 21:49:21 +01:00
|
|
|
|
2021-04-20 00:52:51 +02:00
|
|
|
<div class="grid grid-2col">
|
|
|
|
<div class="flex-group-left">
|
|
|
|
<div class="flexrow">
|
|
|
|
<label>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>
|
|
|
|
{{#if arme}}
|
2020-12-16 23:02:15 +01:00
|
|
|
{{#if attackerRoll}}
|
2021-04-20 00:52:51 +02:00
|
|
|
{{#if attackerRoll.tactique}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<label>Tactique: </label><label>{{attackerRoll.tactique}}</label>
|
|
|
|
</div>
|
2020-12-16 23:02:15 +01:00
|
|
|
{{/if}}
|
2021-04-20 00:52:51 +02:00
|
|
|
{{else}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<label>Tactique:</label>
|
|
|
|
<span class="tooltip">
|
|
|
|
<select class="select-by-name" name="tactique" 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>
|
2021-02-10 11:42:43 +01:00
|
|
|
</div>
|
2021-04-20 00:52:51 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-12-16 23:02:15 +01:00
|
|
|
{{/if}}
|
2021-01-13 03:42:13 +01:00
|
|
|
{{#if ajustements.attaqueDefenseurSurpris.used}}
|
2021-04-20 00:52:51 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<label id="defenseur-surprise">{{ajustements.attaqueDefenseurSurpris.label}}</label>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-12-16 23:02:15 +01:00
|
|
|
{{/if}}
|
|
|
|
|
2021-04-20 00:52:51 +02:00
|
|
|
{{#if arme}}
|
|
|
|
{{#unless attackerRoll}}
|
|
|
|
<div class="flexrow">
|
|
|
|
{{#if (eq arme.data.mortalite 'non-mortel')}}
|
|
|
|
<label>Dégats:</label><label class="dmg-arme-actor"></label>
|
|
|
|
{{else}}
|
|
|
|
<label>Dégats:
|
|
|
|
</label>
|
|
|
|
<span>
|
|
|
|
<input class="attribute-value" type="checkbox" id="coupsNonMortels" name="coupsNonMortels" {{#if coupsNonMortels}}checked{{/if}}/>
|
|
|
|
<label class="dmg-arme-actor">
|
|
|
|
</label>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|
|
|
|
{{/if}}
|
2021-01-05 18:43:13 +01:00
|
|
|
|
2021-04-20 23:16:18 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html"}}
|
2021-04-20 00:52:51 +02:00
|
|
|
</div>
|
2021-04-20 23:16:18 +02:00
|
|
|
|
2021-04-20 00:52:51 +02:00
|
|
|
<div class="flex-group-left">
|
2021-04-20 23:16:18 +02:00
|
|
|
{{#if attackerRoll}}
|
2021-04-20 00:52:51 +02:00
|
|
|
<div class="flexrow">
|
|
|
|
<label>Difficulté</label>
|
|
|
|
<label>{{diffLibre}}</label>
|
|
|
|
</div>
|
2021-04-20 23:16:18 +02:00
|
|
|
{{else}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
|
|
|
|
{{/if}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
|
|
|
|
<div id="tableAjustements" class="flexrow"></div>
|
2021-04-20 00:52:51 +02:00
|
|
|
</div>
|
2021-01-05 18:43:13 +01:00
|
|
|
</div>
|
2021-04-20 00:52:51 +02:00
|
|
|
|
2021-01-05 18:43:13 +01:00
|
|
|
<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>
|