145 lines
4.4 KiB
HTML
145 lines
4.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="heritiers-roll"><strong>Caractéristique :</strong> {{carac.label}} ({{carac.value}})</li>
|
|
|
|
{{#if rang}}
|
|
<li><strong>{{rang.label}} :</strong> {{rang.value}}</li>
|
|
{{/if}}
|
|
|
|
{{#if competence}}
|
|
<li><strong>Compétence :</strong> {{competence.name}} ({{competence.system.niveau}})</li>
|
|
{{#if useSpecialite}}
|
|
<li>Bonus de spécialité +1</li>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{#if arme}}
|
|
<li><strong>Attaque avec : </strong>{{arme.name}}</li>
|
|
{{#if (eq mode "assommer")}}
|
|
<li>Attaque pour assommer</li>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{#if pouvoir}}
|
|
<li><strong>Pouvoir</strong> : {{pouvoir.name}}</li>
|
|
<li><strong>Effet</strong> : {{pouvoir.system.effet}}</li>
|
|
{{#if (ne pouvoir.system.duree "")}}
|
|
<li><strong>Durée :</strong> {{pouvoir.system.duree}}</li>
|
|
{{/if}}
|
|
{{#if (ne pouvoir.system.portee "")}}
|
|
<li><strong>Portée :</strong> {{pouvoir.system.portee}}</li>
|
|
{{/if}}
|
|
{{#if (ne pouvoir.system.resistance "")}}
|
|
<li><strong>Résistance :</strong> {{pouvoir.system.resistance}}</li>
|
|
{{/if}}
|
|
{{#if (ne pouvoir.system.resistanceautre "")}}
|
|
<li><strong>Résistance autre :</strong> {{pouvoir.system.resistanceautre}}</li>
|
|
{{/if}}
|
|
{{#if (ne pouvoir.system.zoneeffet "")}}
|
|
<li><strong>Zone d'effet :</strong> {{pouvoir.system.zoneeffet}}</li>
|
|
{{/if}}
|
|
{{#if (ne pouvoir.system.cibles "")}}
|
|
<li><strong>Cibles :</strong> {{pouvoir.system.cibles}}</li>
|
|
{{/if}}
|
|
{{#if (ne pouvoir.system.virulence "")}}
|
|
<li><strong>Virulence :</strong> {{pouvoir.system.virulence}}</li>
|
|
{{/if}}
|
|
<li><strong>Points d'usage consommés :</strong> {{pouvoirPointsUsage}}</li>
|
|
{{/if}}
|
|
|
|
{{#if sort}}
|
|
<li><strong>Sort :</strong> {{sort.name}}</li>
|
|
{{#if (ne sort.system.resistance "")}}
|
|
<li><strong>Résistance :</strong> {{sort.system.resistance}}</li>
|
|
{{/if}}
|
|
{{#if (ne sort.system.concentration "")}}
|
|
<li><strong>Concentration :</strong> {{sort.system.concentration}}</li>
|
|
{{/if}}
|
|
{{#if (ne sort.system.duree "")}}
|
|
<li><strong>Durée :</strong> {{sort.system.duree}}</li>
|
|
{{/if}}
|
|
{{#if (ne sort.system.portee "")}}
|
|
<li><strong>Portée :</strong> {{sort.system.portee}}</li>
|
|
{{/if}}
|
|
{{#if (ne sort.system.ingredients "")}}
|
|
<li><strong>Ingrédients :</strong> {{sort.system.ingredients}}</li>
|
|
{{/if}}
|
|
{{#if (ne sort.system.coutactivation "")}}
|
|
<li><strong>Coût d'activation :</strong> {{sort.system.coutactivation}}</li>
|
|
{{/if}}
|
|
{{#if spendEsprit}}
|
|
<li><strong>Points d'Esprit dépensé :</strong> 1</li>
|
|
{{else}}
|
|
<li><strong>Coût en points d'Âme</strong> : {{sortPointsAme}}</li>
|
|
{{#if (eq sort.system.competence "Magie du Clan")}}
|
|
<li><strong>Souffle :</strong> {{sort.system.souffle}}</li>
|
|
<li><strong>Cout en PV :</strong> 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><strong>Formule :</strong> {{diceFormula}}</li>
|
|
<li><strong>Résultat du dé :</strong> {{diceResult}} </li>
|
|
|
|
{{#if adjacentFaces}}
|
|
<li><strong>Faces adjacentes :</strong>
|
|
{{#each adjacentFaces as |value key|}}
|
|
<a class="roll-tricherie-2" data-dice-value="{{value}}">{{value}}</a>
|
|
{{/each}}
|
|
</li>
|
|
{{/if}}
|
|
|
|
<li><strong>Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}</strong></li>
|
|
|
|
|
|
{{#if (gt sdValue "-1")}}
|
|
<li><strong>Seuil de difficulté :</strong> {{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> |