85 lines
1.8 KiB
HTML
85 lines
1.8 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 actionImg}}
|
||
|
<div>
|
||
|
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
|
||
|
</div>
|
||
|
{{/if}}
|
||
|
|
||
|
<div class="flexcol">
|
||
|
</div>
|
||
|
|
||
|
<div>
|
||
|
<ul>
|
||
|
<li class="hawkmoon-roll">Attribut : {{attr.label}} ({{attr.value}})</li>
|
||
|
|
||
|
{{#if competence}}
|
||
|
<li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if selectedMaitrise}}
|
||
|
<li>Maitrise : {{selectedMaitrise.name}}</li>
|
||
|
{{/if}}
|
||
|
|
||
|
|
||
|
{{#if arme}}
|
||
|
<li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
|
||
|
{{/if}}
|
||
|
|
||
|
<li>Formule : {{diceFormula}}</li>
|
||
|
<li>Résultat du dé : {{diceResult}}</li>
|
||
|
|
||
|
{{#if bonusRoll}}
|
||
|
<li>{{textBonus}} : +{{bonusRoll.total}}</li>
|
||
|
{{/if}}
|
||
|
|
||
|
<li>Total : {{finalResult}}</li>
|
||
|
|
||
|
{{#if difficulte}}
|
||
|
{{#if isSuccess}}
|
||
|
<li class="chat-success">Succés...
|
||
|
</li>
|
||
|
{{else}}
|
||
|
<li class="chat-failure">Echec...</li>
|
||
|
{{/if}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if isHeroique}}
|
||
|
<li class="chat-success">Héroïque !!!</li>
|
||
|
{{/if}}
|
||
|
{{#if isDramatique}}
|
||
|
<li class="chat-failure">Dramatique !!!</li>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if isInit}}
|
||
|
<li>Initiative stockée ! </li>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if isSuccess}}
|
||
|
{{#if arme}}
|
||
|
<li>Votre adversaire perd 1 Etat de Combativité (manuel) </li>
|
||
|
{{#if (not arme.system.onlevelonly)}}
|
||
|
<button class="chat-card-button roll-chat-degat">Dégats de l'arme</button>
|
||
|
{{/if}}
|
||
|
{{/if}}
|
||
|
{{/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>
|
||
|
|