106 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			2.5 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="heritiers-roll">Caractéristique : {{carac.label}} ({{carac.value}})</li>
 | |
| 
 | |
|     {{#if rang}}
 | |
|     <li>{{rang.label}} : {{rang.value}}</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if competence}}
 | |
|     <li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
 | |
|     {{#if useSpecialite}}
 | |
|     <li>Bonus de spécialité +1</li>
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if arme}}
 | |
|     <li>Attaque avec : {{arme.name}}</li>
 | |
|     {{#if (eq mode "assommer")}}
 | |
|     <li>Attaque pour assommer</li>
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if pouvoir}}
 | |
|     <li>Pouvoir : {{pouvoir.name}}</li>
 | |
|     <li>Effet : {{pouvoir.system.effet}}</li>
 | |
|     <li>Points d'usage consommés : {{pouvoirPointsUsage}}</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if sort}}
 | |
|     <li>Sort : {{sort.name}}</li>
 | |
|     {{#if spendEsprit}}
 | |
|       <li>Points d'Esprit dépensé : 1</li>
 | |
|     {{else}}
 | |
|       <li>Cout en Points d'âmes : {{sortPointsAme}}</li>
 | |
|       {{#if (eq sort.system.competence "Magie du Clan")}}
 | |
|         <li>Souffle : {{sort.system.souffle}}</li>
 | |
|         <li>Cout en PV : 2</li>
 | |
|       {{/if}}
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if forcedValue}}
 | |
|     <li>Vous dépensez 2 points de Tricherie et utilisez une face adjacente du dé !</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if noRoll}}
 | |
|     {{else}}
 | |
|     <li>Formule : {{diceFormula}}</li>
 | |
|     <li>Résultat du dé : {{diceResult}} </li>
 | |
| 
 | |
|     {{#if adjacentFaces}}
 | |
|     <li>Faces Adjacentes :
 | |
|       {{#each adjacentFaces as |value key|}}
 | |
|       <a class="roll-tricherie-2" data-dice-value="{{value}}">{{value}}</a>
 | |
|       {{/each}}
 | |
|     </li>
 | |
|     {{/if}}
 | |
| 
 | |
|     <li>Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}</li>
 | |
| 
 | |
| 
 | |
|     {{#if (gt sdValue "-1")}}
 | |
|     <li>Seuil de difficulté : {{sdValue}}</li>
 | |
|     {{#if isSuccess}}
 | |
|     <li class="chat-success">Succès...
 | |
|     </li>
 | |
|     {{else}}
 | |
|     <li class="chat-failure">Echec...</li>
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if isBrelan}}
 | |
|     <li class="chat-success">Brelan sur 3 dés !</li>
 | |
|     {{/if}}
 | |
|     {{#if isSuite}}
 | |
|     <li class="chat-success">Suite sur 3 dés !</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if isCriticalSuccess}}
 | |
|     <li class="chat-success">Réussite Critique !!!</li>
 | |
|     {{/if}}
 | |
|     {{#if isCriticalFailure}}
 | |
|     <li class="chat-failure">Echec Critique !!!</li>
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|   </ul>
 | |
| </div> |