forked from public/foundryvtt-reve-de-dragon
		
	
		
			
				
	
	
		
			93 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<form class="skill-roll-dialog">
 | 
						|
  <h2 class="dialog-roll-title"></h2>
 | 
						|
 | 
						|
  <div class="grid grid-2col">
 | 
						|
    <div class="flex-group-left">
 | 
						|
      <img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}"/>
 | 
						|
      <div class="flexrow">
 | 
						|
        <label>Caractéristique</label>
 | 
						|
        {{>"systems/foundryvtt-reve-de-dragon/templates/partial-select-carac.html"}}
 | 
						|
      </div>
 | 
						|
      {{#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>
 | 
						|
          <span class="tooltip tooltip-dotted">
 | 
						|
            <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}}
 | 
						|
      {{#if ajustements.attaqueDefenseurSurpris.used}}
 | 
						|
      <div class="flexrow">
 | 
						|
        <label id="defenseur-surprise">{{ajustements.attaqueDefenseurSurpris.label}}</label>
 | 
						|
      </div>
 | 
						|
      {{/if}}
 | 
						|
      {{/if}}
 | 
						|
 | 
						|
      {{#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 if (eq arme.data.mortalite 'empoignade')}}
 | 
						|
          <label>Dégats:</label><label>Empoignade</label>
 | 
						|
          {{else}}
 | 
						|
          <label>Dégats:</label>
 | 
						|
          <span>
 | 
						|
            <input class="attribute-value" type="checkbox" name="coupsNonMortels" {{#unless (eq mortalite 'mortel')}}checked{{/unless}} />
 | 
						|
            <label class="dmg-arme-actor"></label>
 | 
						|
          </span>
 | 
						|
          {{/if}}
 | 
						|
        </div>
 | 
						|
        {{/unless}}
 | 
						|
      {{/if}}
 | 
						|
 | 
						|
      {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-surenc.html"}}
 | 
						|
      {{>"systems/foundryvtt-reve-de-dragon/templates/partial-roll-enctotal.html"}}
 | 
						|
    
 | 
						|
      {{#if isGM}}
 | 
						|
      <div>
 | 
						|
        <span><label>Forcer le résultat : </label><input name='force-dice--result' id='force-dice-result' value='{{forceDiceResult}}'></span>
 | 
						|
      </div>
 | 
						|
      {{/if}}
 | 
						|
 | 
						|
    </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>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <div id="tableResolution"></div>
 | 
						|
  <div id="tableProbaReussite"></div>
 | 
						|
</form>
 | 
						|
 | 
						|
<script>
 | 
						|
</script>
 |