forked from public/fvtt-yggdrasill
		
	
		
			
				
	
	
		
			106 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div class="chat-message-header">
 | |
|   <img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
 | |
|   <h4 class=chat-actor-name>{{alias}}</h4>
 | |
| </div>
 | |
| 
 | |
| <hr>
 | |
| 
 | |
| <div>
 | |
|   <img class="chat-icon" src="{{img}}" alt="{{alias}}" />
 | |
|   <h3>
 | |
|     {{#if (eq mode "attribut")}}  
 | |
|     Jet de {{attr.label}} {{subAttr.label}} (2d10+{{subAttr.value}})
 | |
|     {{else}}
 | |
|       {{#if (eq mode "competence")}}  
 | |
|       Jet de {{selectedCarac.label}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.data.niveau}})
 | |
|       {{else}}
 | |
|         {{#if (eq mode "armecc")}}
 | |
|         Attaque au corps à Corps {{attackDef.label}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.data.niveau}})
 | |
|         {{else}}
 | |
|           {{#if (eq mode "armedist")}}
 | |
|           Attaque à Distance {{attackDef.label}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.data.niveau}})
 | |
|           {{else}}
 | |
|             {{#if (eq mode "sejdr")}}
 | |
|               Lancer du Sort {{sort.name}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.data.niveau}})
 | |
|             {{else}}
 | |
|               {{#if (eq mode "rune")}}
 | |
|                 Gravure de la Rune {{sort.name}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.data.niveau}})
 | |
|               {{else}}
 | |
|                 {{#if (eq mode "galdr")}}
 | |
|                   Lancer du Domaine {{sort.name}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.data.niveau}})
 | |
|                 {{else}}
 | |
|                   Jet de {{selectedCarac.label}} ({{selectedCarac.value}}d10)
 | |
|                 {{/if}}
 | |
|               {{/if}}
 | |
|             {{/if}}
 | |
|           {{/if}}
 | |
|         {{/if}}
 | |
|       {{/if}}
 | |
|     {{/if}}
 | |
|   </h3>
 | |
| </div>
 | |
| 
 | |
| <div>
 | |
|   <ul>
 | |
|     <li>Dés : 
 | |
|       {{#each rawDices as |dice key|}}
 | |
|       {{dice.result}}  
 | |
|       {{/each}}
 | |
|     </li>
 | |
|     {{#if sumDice}}
 | |
|     <li>Nombre de dés additionnés : {{sumDice}}</li>
 | |
|     {{/if}}
 | |
|     <li>Bonus/Malus Final : {{finalBM}}</li>
 | |
|     {{#if sr}}
 | |
|     <li>Seuil de Réussite final : {{srFinal}}</li>
 | |
|     {{/if}}
 | |
|     {{#if furorUsage}}
 | |
|     <li>Furor : {{furorUsage}}</li>
 | |
|     {{/if}}
 | |
|     <li><h3>Total : {{roll.total}}</h3></li>
 | |
|   </ul>
 | |
|   
 | |
|   {{#if dureeGaldrText}}
 | |
|   <div>
 | |
|     Durée du Sort : {{dureeGaldrText}}
 | |
|   </div>
 | |
|   {{/if}}
 | |
| 
 | |
|   {{#if zoneGaldrText}}
 | |
|   <div>
 | |
|     Volume Max de l'Illusion : {{zoneGaldrText}}
 | |
|   </div>
 | |
|   {{/if}}
 | |
| 
 | |
|   {{#if ciblesGaldrText}}
 | |
|   <div>
 | |
|     Nombre de Cibles : {{ciblesGaldrText}}
 | |
|   </div>
 | |
|   {{/if}}
 | |
| 
 | |
|   
 | |
|   {{#if degats}}
 | |
|   <div>
 | |
|     Degats : {{degats}} ({{degatsExplain}})
 | |
|   </div>
 | |
|   {{/if}}
 | |
| 
 | |
|   {{#if attackDef.protection}}
 | |
|   <div>
 | |
|     Annuation de Protection du Défenseur : {{attackDef.protection}}
 | |
|   </div>
 | |
|   {{/if}}
 | |
| 
 | |
|   {{#if isCritical}}
 | |
|   <div class="chat-message-header">
 | |
|     <img class="chat-icon" src="systems/fvtt-yggdrasill/images/icons/icon_reussite_critique.png" alt="critique" />
 | |
|     Réussite Critique !
 | |
|     {{/if}}
 | |
|     {{#if isFailure}}
 | |
|     <img class="chat-icon" src="systems/fvtt-yggdrasill/images/icons/icon_echec_critique.png" alt="echec" />
 | |
|     Echec Critique !
 | |
|   </div>
 | |
|   {{/if}}
 | |
| 
 | |
| </div>
 |