104 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			104 lines
		
	
	
		
			2.4 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="wasteland-roll">Attribut : {{attr.label}}</li>
 | |
| 
 | |
|     {{#if competence}}
 | |
|     <li>Compétence : {{competence.name}}</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if rune}}
 | |
|     <li>Rune : {{rune.name}}</li>
 | |
|     <li>Mode : {{runemode}}</li>
 | |
|     <li>Points d'Ame : {{runeame}}</li>
 | |
|     <li>Durée : {{runeduree}} actions complexes</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if bonusRoll}}
 | |
|     <li>{{textBonus}} : {{bonusRoll.total}}</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if arme}}
 | |
|     <li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
 | |
|     {{/if}}
 | |
| 
 | |
|     <li>Formule : {{diceFormula}}</li>
 | |
|     <li>Dé : {{diceResult}}</li>
 | |
|     
 | |
|     {{#if difficulte}}
 | |
|       <li>Difficulté : {{difficulte}}</li>
 | |
|     {{/if}}
 | |
|     
 | |
|     <li></li>
 | |
|     <li>Total : {{finalResult}}</li>
 | |
| 
 | |
|     {{#if charme}}
 | |
|       {{#if charmeDuree}}
 | |
|       <li><strong>Réussi !</strong>
 | |
|       <li>Durée : {{charmeDuree}}</li>
 | |
|       {{else}}
 | |
|       <li><strong>Le Tour/Charme a échoué !</strong></li>
 | |
|       {{/if}}
 | |
| 
 | |
|       {{#if contrecoupResult}}
 | |
|         <li><strong>Contrecoup : {{contrecoupResult}}</li>
 | |
|         <li>{{contrecoup.name}}</li>
 | |
|       {{/if}}
 | |
|       {{#if charmeSante}}
 | |
|         <li>Santé perdue: {{charmeSante}}</li>
 | |
|       {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if difficulte}}
 | |
|     {{#if isSuccess}}
 | |
|     <li>Succés!!!</li>
 | |
|     {{else}}
 | |
|     <li>Echec ...</li>
 | |
|     {{/if}}
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if isHeroique}}
 | |
|     <li>Succés Héroïque!!!</li>
 | |
|     {{/if}}
 | |
|     {{#if isDramatique}}
 | |
|     <li>Echec Dramatique!!!</li>
 | |
|     {{/if}}
 | |
|     
 | |
|     {{#if (and pouvoir isDramatique)}}
 | |
|     <li><strong>Vous subissez une manifestation de l'Hubris !</strong></li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if (and pouvoir isSuccess)}}
 | |
|     <li><strong>Vous pouvez appliquer l'effet simple du pouvoir.</strong></li>
 | |
|     {{/if}}
 | |
| 
 | |
|     {{#if (and pouvoir isHeroique)}}
 | |
|     <li><strong>Vous pouvez appliquer l'effet étendu du pouvoir.</strong></li>
 | |
|     {{/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>
 | |
| 
 | |
| </div> |