97 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div class="chat-message-header">
 | |
|   {{#if actorImg}}
 | |
|   <img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
 | |
|   {{/if}}
 | |
|   <h4 class=chat-actor-name>{{alias}}</h4>
 | |
| </div>
 | |
| 
 | |
| <hr>
 | |
| 
 | |
| {{#if actionImg}}
 | |
| <div>
 | |
|   <img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
 | |
| </div>
 | |
| {{/if}}
 | |
| 
 | |
| <div class="flexcol">
 | |
| </div>
 | |
| 
 | |
| <div>
 | |
|   <ul>
 | |
|     <li class="hawkmoon-roll">Attribut : {{attr.label}} ({{attr.value}})</li>
 | |
| 
 | |
|     {{#if competence}}
 | |
|     <li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if selectedMaitrise}}
 | |
|     <li>Maitrise : {{selectedMaitrise.name}}</li>
 | |
|     {{/if}}
 | |
| 
 | |
| 
 | |
|     {{#if arme}}
 | |
|     <li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     <li>Formule : {{diceFormula}}</li>
 | |
|     <li>Résultat du dé : {{diceResult}}</li>
 | |
| 
 | |
|     {{#if bonusRoll}}
 | |
|     <li>{{textBonus}} : +{{bonusRoll.total}}</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     <li>Total : {{finalResult}}</li>
 | |
| 
 | |
|     {{#if attaqueCharge}}
 | |
|     <li>Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if difficulte}}
 | |
|     <li>SD : {{difficulte}}</li>
 | |
| 
 | |
|     {{#if isSuccess}}
 | |
|     <li class="chat-success">Succés...
 | |
|     </li>
 | |
|       {{#if attaqueDesarme}}
 | |
|       <li>Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.</li>
 | |
|       {{/if}}
 | |
|     {{else}}
 | |
|     <li class="chat-failure">Echec...</li>
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if isHeroique}}
 | |
|     <li class="chat-success">Héroïque !!!</li>
 | |
|       {{#if attaqueDesarme}}
 | |
|         <li>... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.</li>
 | |
|       {{/if}}
 | |
|     {{/if}}
 | |
|     {{#if isDramatique}}
 | |
|     <li class="chat-failure">Dramatique !!!</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if isInit}}
 | |
|     <li>Initiative stockée ! </li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if isSuccess}}
 | |
|       {{#if arme}}
 | |
|         <li>Votre adversaire perd 1 Etat de Combativité (manuel) </li>
 | |
|         {{#if (not arme.system.onlevelonly)}}
 | |
|           <button class="chat-card-button roll-chat-degat">Dégats de l'arme</button>
 | |
|         {{/if}}
 | |
|       {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
| 
 | |
|     {{#each predilections as |pred key|}}
 | |
|     <li>
 | |
|       <button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection :
 | |
|         {{pred.name}}</button>
 | |
|     </li>
 | |
|     {{/each}}
 | |
| 
 | |
|   </ul>
 | |
| </div>
 | |
| 
 |