fvtt-hawkmoon-cyd/templates/chat-generic-result.html

85 lines
1.8 KiB
HTML
Raw Normal View History

2022-10-22 11:09:48 +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>
{{#if actionImg}}
<div>
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
</div>
{{/if}}
<div class="flexcol">
</div>
<div>
<ul>
2022-11-13 23:01:41 +01:00
<li class="hawkmoon-roll">Attribut : {{attr.label}} ({{attr.value}})</li>
2022-10-22 11:09:48 +02:00
{{#if competence}}
2022-11-13 23:01:41 +01:00
<li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
2022-10-22 11:09:48 +02:00
{{/if}}
2022-10-25 17:54:13 +02:00
{{#if selectedMaitrise}}
<li>Maitrise : {{selectedMaitrise.name}}</li>
2022-10-22 11:09:48 +02:00
{{/if}}
{{#if arme}}
<li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
{{/if}}
<li>Formule : {{diceFormula}}</li>
2022-11-13 23:01:41 +01:00
<li>Résultat du dé : {{diceResult}}</li>
2022-10-25 17:54:13 +02:00
{{#if bonusRoll}}
<li>{{textBonus}} : +{{bonusRoll.total}}</li>
{{/if}}
2022-11-13 23:01:41 +01:00
2022-10-22 11:09:48 +02:00
<li>Total : {{finalResult}}</li>
{{#if difficulte}}
{{#if isSuccess}}
2022-11-14 15:27:19 +01:00
<li class="chat-success">Succés...
</li>
2022-10-22 11:09:48 +02:00
{{else}}
2022-11-14 15:27:19 +01:00
<li class="chat-failure">Echec...</li>
2022-10-22 11:09:48 +02:00
{{/if}}
{{/if}}
{{#if isHeroique}}
2022-11-14 15:27:19 +01:00
<li class="chat-success">Héroïque !!!</li>
2022-10-22 11:09:48 +02:00
{{/if}}
{{#if isDramatique}}
2022-11-14 15:27:19 +01:00
<li class="chat-failure">Dramatique !!!</li>
2022-11-13 23:01:41 +01:00
{{/if}}
{{#if isInit}}
<li>Initiative stockée ! </li>
2022-10-22 11:09:48 +02:00
{{/if}}
2022-11-13 23:01:41 +01:00
{{#if isSuccess}}
{{#if arme}}
<li>Votre adversaire perd 1 Etat de Combativité </li>
{{#if (not arme.system.onlevelonly)}}
<button class="chat-card-button roll-chat-degat">Dégats de l'arme</button>
{{/if}}
{{/if}}
{{/if}}
2022-10-22 11:09:48 +02:00
{{#each predilections as |pred key|}}
<li>
2022-11-13 23:01:41 +01:00
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection :
{{pred.name}}</button>
2022-10-22 11:09:48 +02:00
</li>
{{/each}}
2022-10-25 17:54:13 +02:00
2022-10-22 11:09:48 +02:00
</ul>
</div>