foundryvtt-reve-de-dragon/templates/dialog-competence.html

93 lines
3.3 KiB
HTML
Raw Normal View History

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-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}}
{{#if attackerRoll}}
{{#if attackerRoll.tactique}}
<div class="flexrow">
<label>Tactique: </label><label>{{attackerRoll.tactique}}</label>
</div>
{{/if}}
{{else}}
<div class="flexrow">
<label>Tactique:</label>
2021-04-21 22:01:07 +02:00
<span class="tooltip tooltip-dotted">
2021-04-21 18:58:32 +02:00
<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>
</div>
</span>
</div>
{{/if}}
2021-04-21 18:58:32 +02:00
{{#if ajustements.attaqueDefenseurSurpris.used}}
2021-04-20 00:52:51 +02:00
<div class="flexrow">
2021-04-21 18:58:32 +02:00
<label id="defenseur-surprise">{{ajustements.attaqueDefenseurSurpris.label}}</label>
2021-04-20 00:52:51 +02:00
</div>
2021-04-21 18:58:32 +02:00
{{/if}}
{{/if}}
2021-04-21 18:58:32 +02:00
{{#if arme}}
{{#unless attackerRoll}}
<div class="flexrow">
{{#if (eq arme.data.mortalite 'non-mortel')}}
<label>D&eacute;gats:</label><label class="dmg-arme-actor"></label>
{{else}}
<label>D&eacute;gats:
2021-04-20 00:52:51 +02:00
</label>
2021-04-21 18:58:32 +02:00
<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-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"}}
2021-06-28 20:19:02 +02:00
{{#if isGM}}
<div>
<span><label>Forcer le résultat : </label><input name='force-dice--result' id='force-dice-result' value='{{forceDiceResult}}'></span>
</div>
{{/if}}
2021-04-21 18:58:32 +02:00
</div>
<div class="flex-group-left">
{{#if attackerRoll}}
<div class="flexrow">
<label>Difficulté</label>
<label>{{diffLibre}}</label>
</div>
{{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>
</div>
2020-12-15 23:54:09 +01:00
2021-04-21 18:58:32 +02:00
<div id="tableResolution"></div>
<div id="tableProbaReussite"></div>
2020-05-24 20:19:57 +02:00
</form>
<script>
</script>