2022-01-09 09:33:47 +01:00
|
|
|
<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 :
|
2022-01-11 18:19:13 +01:00
|
|
|
{{#each rawDices as |roll key|}}
|
|
|
|
{{roll.result}}
|
2022-01-09 09:33:47 +01:00
|
|
|
{{/each}}
|
|
|
|
</li>
|
|
|
|
{{#if sumDice}}
|
|
|
|
<li>Nombre de dés additionnés : {{sumDice}}</li>
|
|
|
|
{{/if}}
|
2022-01-11 18:19:13 +01:00
|
|
|
<li>{{#if (eq mode "carac")}}Carac{{else}}Competence{{/if}} : {{niveauCompetence}}</li>
|
2022-01-09 09:33:47 +01:00
|
|
|
<li>Bonus/Malus Final : {{finalBM}}</li>
|
|
|
|
{{#if sr}}
|
|
|
|
<li>Seuil de Réussite final : {{srFinal}}</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if furorUsage}}
|
2022-01-11 18:19:13 +01:00
|
|
|
<li>Furor dépensée : {{furorUsage}}</li>
|
|
|
|
<li>Resultat de la Furor : {{furorResult}}</li>
|
2022-01-09 09:33:47 +01:00
|
|
|
{{/if}}
|
2022-01-11 18:19:13 +01:00
|
|
|
<li><h3>Total : {{finalTotal}}</h3></li>
|
2022-01-09 09:33:47 +01:00
|
|
|
</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>
|