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>
|
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
{{#if img}}
|
|
|
|
<div>
|
2022-06-05 15:54:17 +02:00
|
|
|
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
|
2022-06-03 08:15:39 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="flexcol">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<ul>
|
2022-06-05 15:54:17 +02:00
|
|
|
<li class="mournblade-roll">Attribut : {{attr.label}}</li>
|
2022-06-03 08:15:39 +02:00
|
|
|
|
|
|
|
{{#if competence}}
|
|
|
|
<li>Compétence : {{competence.name}}</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2022-06-05 15:54:17 +02:00
|
|
|
{{#if bonusRoll}}
|
|
|
|
<li>{{textBonus}} : {{bonusRoll.total}}</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
{{#if weaponName}}
|
|
|
|
<li>Weapon : {{weaponName}}</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<li>Formule : {{diceFormula}}</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>
|
2022-06-03 08:15:39 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2022-06-05 23:27:38 +02:00
|
|
|
{{#each predilections as |pred key|}}
|
|
|
|
<li>
|
|
|
|
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection : {{pred.name}}</button>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2022-06-03 08:15:39 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
2022-05-27 09:45:09 +02:00
|
|
|
|
2022-06-03 08:15:39 +02:00
|
|
|
</div>
|