fvtt-yggdrasill/templates/chat-generic-result.html

136 lines
3.6 KiB
HTML
Raw Permalink Normal View History

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>
2022-01-23 00:07:47 +01:00
<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")}}
2022-09-21 11:42:09 +02:00
Jet de {{selectedCarac.label}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.system.niveau}})
2022-01-09 09:33:47 +01:00
{{else}}
2022-01-23 00:07:47 +01:00
{{#if (eq mode "armecc")}}
Attaque au corps à Corps {{attackDef.label}} ({{selectedCarac.value}}d10) / {{competence.name}}
2022-09-21 11:42:09 +02:00
({{competence.system.niveau}})
2022-01-23 00:07:47 +01:00
{{else}}
{{#if (eq mode "armedist")}}
Attaque à Distance {{attackDef.label}} ({{selectedCarac.value}}d10) / {{competence.name}}
2022-09-21 11:42:09 +02:00
({{competence.system.niveau}})
2022-01-23 00:07:47 +01:00
{{else}}
{{#if (eq mode "sejdr")}}
2022-09-21 11:42:09 +02:00
Lancer du Sort {{sort.name}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.system.niveau}})
2022-01-23 00:07:47 +01:00
{{else}}
{{#if (eq mode "rune")}}
2022-09-21 11:42:09 +02:00
Gravure de la Rune {{sort.name}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.system.niveau}})
2022-01-23 00:07:47 +01:00
{{else}}
{{#if (eq mode "galdr")}}
2022-09-21 11:42:09 +02:00
Lancer du Domaine {{sort.name}} ({{selectedCarac.value}}d10) / {{competence.name}} ({{competence.system.niveau}})
2022-01-23 00:07:47 +01:00
{{else}}
Jet de {{selectedCarac.label}} ({{selectedCarac.value}}d10)
2022-01-09 09:33:47 +01:00
{{/if}}
2022-01-23 00:07:47 +01:00
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
</h3>
</div>
2022-01-09 09:33:47 +01:00
2022-01-23 00:07:47 +01:00
<div>
<ul>
<li>Dés :
{{#each rawDices as |roll key|}}
{{roll.result}}&nbsp;
{{/each}}
</li>
{{#if sumDice}}
<li>Nombre de dés additionnés : {{sumDice}}</li>
{{/if}}
2022-01-23 21:41:13 +01:00
{{#if (eq mode "competence")}}
<li>Competence : {{niveauCompetence}}</li>
{{/if}}
2022-01-23 22:01:13 +01:00
{{#if (eq mode "carac")}}
<li>Carac : {{niveauCompetence}}</li>
{{/if}}
2022-01-23 21:41:13 +01:00
2022-01-23 00:07:47 +01:00
<li>Bonus/Malus Final : {{finalBM}}</li>
2022-01-23 21:41:13 +01:00
2022-01-23 00:07:47 +01:00
{{#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>
2022-01-09 09:33:47 +01:00
{{/if}}
2022-01-23 00:07:47 +01:00
{{#if zoneGaldrText}}
<div>
Volume Max de l'Illusion : {{zoneGaldrText}}
</div>
2022-01-09 09:33:47 +01:00
{{/if}}
2022-01-23 00:07:47 +01:00
{{#if ciblesGaldrText}}
<div>
Nombre de Cibles : {{ciblesGaldrText}}
</div>
{{/if}}
2022-01-09 09:33:47 +01:00
2022-01-23 00:07:47 +01:00
{{#if degats}}
<div>
Degats : {{degats}} ({{degatsExplain}})
</div>
{{/if}}
2022-01-09 09:33:47 +01:00
2022-01-23 00:07:47 +01:00
{{#if attackDef.protection}}
<div>
Annuation de Protection du Défenseur : {{attackDef.protection}}
</div>
{{/if}}
2022-01-09 09:33:47 +01:00
2022-01-23 00:07:47 +01:00
{{#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>
2022-01-09 09:33:47 +01:00
{{/if}}
{{#if isFailure}}
2022-01-23 00:07:47 +01:00
<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}}
2022-01-09 09:33:47 +01:00
2022-01-23 00:07:47 +01:00
{{#if (and isSuccess isMagie)}}
<div>
<hr>
{{{sort.data.description}}}
2022-02-05 12:37:04 +01:00
{{#if (eq mode "rune")}}
<hr>
Support : {{supportRune}}<br>
Durée de réalisation : {{dureeRune}} {{echelleDuree}}<br>
Durée de vie : {{niveauCompetence}} {{echelleDureeVie}}<br>
{{/if}}
2022-01-23 00:07:47 +01:00
</div>
2022-02-05 12:37:04 +01:00
2022-01-23 00:07:47 +01:00
{{/if}}
</div>
</div>