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

99 lines
2.1 KiB
HTML
Raw Normal View History

2022-05-27 09:45:09 +02:00
<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>
2022-06-06 18:49:39 +02:00
{{#if actionImg}}
<div>
2022-06-05 15:54:17 +02:00
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
</div>
<div>
<ul>
2022-06-05 15:54:17 +02:00
<li class="mournblade-roll">Attribut : {{attr.label}}</li>
2023-12-22 09:30:26 +01:00
{{#if arme}}
<li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
{{#if defender}}
<li>Cible : {{defender.name}}</li>
{{/if}}
{{#if typeAttaque}}
<li>Attaque : {{lookup config.attaques typeAttaque}}</li>
{{/if}}
{{/if}}
{{#if competence}}
<li>Compétence : {{competence.name}}</li>
{{/if}}
2023-12-21 15:41:17 +01:00
{{#if predilectionUsed}}
<li>Predilection utilisée : {{predilectionUsed.name}}</li>
{{/if}}
2022-06-26 18:52:31 +02:00
{{#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}}
2022-06-05 15:54:17 +02:00
{{#if bonusRoll}}
<li>{{textBonus}} : {{bonusRoll.total}}</li>
{{/if}}
<li>Formule : {{diceFormula}}</li>
<li>Dé : {{diceResult}}</li>
{{#if difficulte}}
2023-12-22 09:30:26 +01:00
<li>Difficulté : {{difficulte}}
{{#if (and arm.system.isMelee armeDefense)}}
({{armeDefense.name}})
{{/if}}
</li>
{{/if}}
<li></li>
<li>Total : {{finalResult}}</li>
{{#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}}
2022-06-05 15:54:17 +02:00
<li>Echec Dramatique!!!</li>
{{/if}}
{{#each predilections as |pred key|}}
2023-12-21 15:41:17 +01:00
{{#if (not pred.used)}}
<li>
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">
Predilection : {{pred.name}}</button>
</li>
{{/if}}
{{/each}}
2023-12-22 09:30:26 +01:00
{{#if (and arme isSuccess)}}
<li>
<button class="chat-card-button chat-card-button-degats arme-roll-degats"> Lancer les dégats ! </button>
</li>
{{/if}}
</ul>
</div>
2022-05-27 09:45:09 +02:00
</div>