61 lines
1.2 KiB
HTML
61 lines
1.2 KiB
HTML
<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 img}}
|
|
<div>
|
|
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="flexcol">
|
|
</div>
|
|
|
|
<div>
|
|
<ul>
|
|
<li class="mournblade-roll">Attribut : {{attr.label}}</li>
|
|
|
|
{{#if competence}}
|
|
<li>Compétence : {{competence.name}}</li>
|
|
{{/if}}
|
|
|
|
{{#if bonusRoll}}
|
|
<li>{{textBonus}} : {{bonusRoll.total}}</li>
|
|
{{/if}}
|
|
|
|
{{#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}}
|
|
<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}}
|
|
</ul>
|
|
</div>
|
|
|
|
</div> |