2020-05-24 20:19:57 +02:00
|
|
|
<form class="skill-roll-dialog">
|
2021-04-21 18:58:32 +02:00
|
|
|
<h2 class="dialog-roll-title"></h2>
|
2021-03-16 21:49:21 +01:00
|
|
|
|
2021-04-21 18:58:32 +02:00
|
|
|
<div class="grid grid-2col">
|
|
|
|
<div class="flex-group-left">
|
|
|
|
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}"/>
|
2021-04-20 00:52:51 +02:00
|
|
|
<div class="flexrow">
|
2021-04-21 18:58:32 +02:00
|
|
|
<label>Caractéristique</label>
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
|
2021-04-20 00:52:51 +02:00
|
|
|
</div>
|
2021-04-21 18:58:32 +02:00
|
|
|
{{#if arme}}
|
2022-11-23 21:42:39 +01:00
|
|
|
{{#if attackerRoll}}
|
|
|
|
{{#if attackerRoll.tactique}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<label>Tactique: </label><label>{{attackerRoll.tactique}}</label>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2021-04-21 18:58:32 +02:00
|
|
|
{{else}}
|
|
|
|
<div class="flexrow">
|
|
|
|
<label>Tactique:</label>
|
2021-04-21 22:01:07 +02:00
|
|
|
<span class="tooltip tooltip-dotted">
|
2022-11-18 23:00:37 +01:00
|
|
|
<select class="select-by-name" name="tactique" data-dtype="String" {{#unless use.conditions}}disabled{{/unless}}>
|
2021-04-21 18:58:32 +02:00
|
|
|
<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>
|
|
|
|
</div>
|
2022-11-23 21:42:39 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if targetToken}}
|
|
|
|
<div class="flexrow">
|
|
|
|
Cible: {{targetToken.name}}
|
|
|
|
<img class="sheet-competence-img" src="{{targetToken.img}}" title="{{targetToken.name}}" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{#if ajustements.attaqueDefenseurSurpris.used}}
|
|
|
|
<div class="flexrow">
|
2022-12-06 01:30:12 +01:00
|
|
|
<label>{{ajustements.attaqueDefenseurSurpris.label}}</label>
|
2022-11-23 21:42:39 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-12-16 23:02:15 +01:00
|
|
|
|
2021-04-21 18:58:32 +02:00
|
|
|
{{#unless attackerRoll}}
|
|
|
|
<div class="flexrow">
|
2022-11-23 21:42:39 +01:00
|
|
|
<label>Dégats:</label>
|
2022-09-06 23:52:21 +02:00
|
|
|
{{#if (eq arme.system.mortalite 'non-mortel')}}
|
2022-11-23 21:42:39 +01:00
|
|
|
<label class="dmg-arme-actor"></label>
|
2022-09-06 23:52:21 +02:00
|
|
|
{{else if (eq arme.system.mortalite 'empoignade')}}
|
2022-11-23 21:42:39 +01:00
|
|
|
<label>Empoignade</label>
|
2021-04-21 18:58:32 +02:00
|
|
|
{{else}}
|
|
|
|
<span>
|
2021-06-28 16:08:45 +02:00
|
|
|
<input class="attribute-value" type="checkbox" name="coupsNonMortels" {{#unless (eq mortalite 'mortel')}}checked{{/unless}} />
|
|
|
|
<label class="dmg-arme-actor"></label>
|
2021-04-21 18:58:32 +02:00
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/unless}}
|
2021-06-28 16:08:45 +02:00
|
|
|
{{/if}}
|
2021-01-05 18:43:13 +01:00
|
|
|
|
2021-04-21 18:58:32 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html"}}
|
|
|
|
</div>
|
2022-11-23 21:42:39 +01:00
|
|
|
|
2021-04-21 18:58:32 +02:00
|
|
|
<div class="flex-group-left">
|
|
|
|
{{#if attackerRoll}}
|
2021-10-30 01:34:57 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffFixe.html"}}
|
2021-04-21 18:58:32 +02:00
|
|
|
{{else}}
|
2021-10-30 01:34:57 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffLibre.html"}}
|
2021-04-21 18:58:32 +02:00
|
|
|
{{/if}}
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-diffCondition.html"}}
|
2021-10-30 01:34:57 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-forcer.html"}}
|
2021-04-21 18:58:32 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-moral.html"}}
|
2022-12-06 01:30:12 +01:00
|
|
|
<div class="placeholder-ajustements" class="flexrow"></div>
|
2021-04-20 00:52:51 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-15 23:54:09 +01:00
|
|
|
|
2022-12-06 01:30:12 +01:00
|
|
|
<div class="placeholder-resolution"></div>
|
2020-05-24 20:19:57 +02:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
</script>
|