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

68 lines
1.3 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-10-25 17:54:13 +02:00
<li class="hawkmoon-roll">Attribut : {{attr.label}}</li>
2022-10-22 11:09:48 +02:00
{{#if competence}}
<li>Compétence : {{competence.name}}</li>
{{/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-10-25 17:54:13 +02:00
{{#if bonusRoll}}
<li>{{textBonus}} : +{{bonusRoll.total}}</li>
{{/if}}
2022-10-22 11:09:48 +02:00
<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}}
<li>Echec Dramatique!!!</li>
{{/if}}
{{#each predilections as |pred key|}}
<li>
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection : {{pred.name}}</button>
</li>
{{/each}}
2022-10-25 17:54:13 +02:00
2022-10-22 11:09:48 +02:00
</ul>
</div>
</div>