136 lines
3.6 KiB
HTML
136 lines
3.6 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>
|
|
<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 |roll key|}}
|
|
{{roll.result}}
|
|
{{/each}}
|
|
</li>
|
|
{{#if sumDice}}
|
|
<li>Nombre de dés additionnés : {{sumDice}}</li>
|
|
{{/if}}
|
|
|
|
{{#if (eq mode "competence")}}
|
|
<li>Competence : {{niveauCompetence}}</li>
|
|
{{/if}}
|
|
{{#if (eq mode "carac")}}
|
|
<li>Carac : {{niveauCompetence}}</li>
|
|
{{/if}}
|
|
|
|
<li>Bonus/Malus Final : {{finalBM}}</li>
|
|
|
|
{{#if sr}}
|
|
<li>Seuil de Réussite final : {{srFinal}}</li>
|
|
{{/if}}
|
|
{{#if furorUsage}}
|
|
<li>Furor dépensée : {{furorUsage}}</li>
|
|
<li>Resultat de la Furor : {{furorResult}}</li>
|
|
{{/if}}
|
|
<li>
|
|
<h3>Total : {{finalTotal}}</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 !
|
|
</div>
|
|
{{/if}}
|
|
{{#if isFailure}}
|
|
<div class="chat-message-header">
|
|
<img class="chat-icon" src="systems/fvtt-yggdrasill/images/icons/icon_echec_critique.png" alt="echec" />
|
|
Echec Critique !
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if (and isSuccess isMagie)}}
|
|
<div>
|
|
<hr>
|
|
{{{sort.data.description}}}
|
|
{{#if (eq mode "rune")}}
|
|
<hr>
|
|
Support : {{supportRune}}<br>
|
|
Durée de réalisation : {{dureeRune}} {{echelleDuree}}<br>
|
|
Durée de vie : {{niveauCompetence}} {{echelleDureeVie}}<br>
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
</div> |