2023-04-19 18:44:41 +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 img}}
|
|
|
|
<div >
|
|
|
|
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="flexcol">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<ul>
|
2023-05-26 07:46:06 +02:00
|
|
|
{{#if skill}}
|
|
|
|
<li>{{localize skill.name}}: {{skill.value}} </li>
|
|
|
|
{{#if spec}}
|
2023-10-10 20:02:13 +02:00
|
|
|
<li>{{localize "ECRY.chat.specialization"}} {{spec.name}} (+{{spec.system.bonus}}) </li>
|
2023-05-26 07:46:06 +02:00
|
|
|
{{/if}}
|
2023-04-19 18:44:41 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2023-05-31 09:16:30 +02:00
|
|
|
{{#if impactMalus}}
|
|
|
|
<li>{{localize "ECRY.ui.impactmalus"}}: {{impactMalus}} </li>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-05-26 07:46:06 +02:00
|
|
|
{{#if skillTranscendence}}
|
|
|
|
<li>{{localize "ECRY.ui.skilltranscendence"}}: {{skillTranscendence}} </li>
|
|
|
|
{{/if}}
|
2023-04-19 18:44:41 +02:00
|
|
|
|
2023-05-26 07:46:06 +02:00
|
|
|
{{#if traitsBonusList}}
|
|
|
|
{{#each traitsBonusList as |trait idx|}}
|
|
|
|
<li>{{localize "ECRY.chat.traitbonus"}}: {{trait.name}} ({{trait.system.level}}) </li>
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if traitsMalusList}}
|
|
|
|
{{#each traitsMalusList as |trait idx|}}
|
|
|
|
<li>{{localize "ECRY.chat.traitmalus"}}: {{trait.name}} ({{trait.system.level}}) </li>
|
|
|
|
{{/each}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if bonusMalusTraits}}
|
|
|
|
<li>{{localize "ECRY.chat.bonusmalustraits"}}: {{bonusMalusTraits}} </li>
|
2023-04-19 18:44:41 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2023-05-26 07:46:06 +02:00
|
|
|
<li>{{localize "ECRY.chat.formula"}}: {{diceFormula}} </li>
|
|
|
|
<li>{{localize "ECRY.chat.dicesum"}}: {{diceSum}} </li>
|
|
|
|
<li>{{localize "ECRY.chat.result"}}: {{total}} </li>
|
|
|
|
{{#if difficulty}}
|
|
|
|
<li>{{localize "ECRY.chat.difficulty"}}: {{difficulty}} - {{localize "ECRY.chat.margin"}}: {{margin}} </li>
|
|
|
|
{{#if isSuccess}}
|
|
|
|
<li><label class="chat-result-text chat-result-success ">{{localize "ECRY.chat.success"}}</label></li>
|
|
|
|
{{else}}
|
|
|
|
<li><label class="chat-result-text chat-result-failure">{{localize "ECRY.chat.failure"}}</label></li>
|
2023-04-19 18:44:41 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|