67 lines
2.1 KiB
Handlebars
67 lines
2.1 KiB
Handlebars
<div class="chat-message-header">
|
|
{{#if actorImg}}
|
|
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
|
{{/if}}
|
|
<h4 class="chat-actor-name">{{alias}}</h4>
|
|
</div>
|
|
|
|
<div class="ecryme-chat-body">
|
|
|
|
{{#if img}}
|
|
<div class="ecryme-chat-icon-row">
|
|
<img class="chat-icon" src="{{img}}" alt="{{alias}}" />
|
|
</div>
|
|
{{/if}}
|
|
|
|
<ul>
|
|
{{#if (eq mode "cephaly")}}
|
|
<li>{{localize "ECRY.ui.cephaly"}} : <strong>{{localize skill.name}}</strong></li>
|
|
{{else}}
|
|
<li>Confrontation : <strong>{{alias}}</strong></li>
|
|
{{/if}}
|
|
|
|
<li>{{localize skill.name}}: <strong>{{skill.value}}</strong></li>
|
|
{{#if spec}}
|
|
<li>{{localize "ECRY.chat.specialization"}} {{spec.name}} (+{{spec.system.bonus}})</li>
|
|
{{/if}}
|
|
|
|
{{#each traitsBonus as |trait idx|}}
|
|
{{#if trait.activated}}
|
|
<li>{{localize "ECRY.chat.traitbonus"}}: <strong>{{trait.name}}</strong> ({{trait.system.level}})</li>
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#each traitsMalus as |trait idx|}}
|
|
{{#if trait.activated}}
|
|
<li>{{localize "ECRY.chat.traitmalus"}}: <strong>{{trait.name}}</strong> ({{trait.system.level}})</li>
|
|
{{/if}}
|
|
{{/each}}
|
|
{{#if bonusMalusTraits}}
|
|
<li>{{localize "ECRY.chat.bonusmalustraits"}}: <strong>{{bonusMalusTraits}}</strong></li>
|
|
{{/if}}
|
|
|
|
{{#if (isGM)}}
|
|
{{else}}
|
|
<li>{{localize "ECRY.ui.execution"}} : <strong>{{executionTotal}}</strong></li>
|
|
<li>{{localize "ECRY.ui.preservation"}} : <strong>{{preservationTotal}}</strong></li>
|
|
{{/if}}
|
|
</ul>
|
|
|
|
{{#if (isGM)}}
|
|
{{#if (eq mode "cephaly")}}
|
|
<div class="ecryme-chat-gm-row">
|
|
<span>{{localize "ECRY.chat.difficulty"}}</span>
|
|
<select id="{{rollId}}-cephaly-difficulty" name="cephaly-difficulty">
|
|
{{#for 1 20 1}}
|
|
<option value="{{this}}">{{this}}</option>
|
|
{{/for}}
|
|
</select>
|
|
</div>
|
|
<button class="chat-card-button button-apply-cephaly-difficulty">{{localize "ECRY.ui.cephalydifficulty"}}</button>
|
|
{{else}}
|
|
<button class="chat-card-button button-select-confront">{{localize "ECRY.ui.selectconfront"}}</button>
|
|
{{/if}}
|
|
{{else}}
|
|
<p class="ecryme-chat-sent-gm">{{localize "ECRY.chat.sentogm"}}</p>
|
|
{{/if}}
|
|
|
|
</div> |