fvtt-ecryme/templates/chat/chat-confrontation-pending.hbs

72 lines
1.9 KiB
Handlebars
Raw Normal View History

2023-06-01 22:13:04 +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="{{alias}}" />
</div>
{{/if}}
<div>
<ul>
2023-07-21 21:21:17 +02:00
{{#if (eq mode "cephaly")}}
<li>{{localize "ECRY.ui.cephaly"}} : {{localize skill.name}} </li>
{{else}}
2023-06-01 22:13:04 +02:00
<li>Confrontation : {{alias}} </li>
2023-07-21 21:21:17 +02:00
{{/if}}
2023-06-01 22:13:04 +02:00
<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-06-01 22:13:04 +02:00
{{/if}}
2023-07-21 21:21:17 +02:00
{{#each traitsBonus as |trait idx|}}
{{#if trait.activated}}
<li>{{localize "ECRY.chat.traitbonus"}}: {{trait.name}} ({{trait.system.level}}) </li>
{{/if}}
{{/each}}
{{#each traitsMalus as |trait idx|}}
{{#if trait.activated}}
<li>{{localize "ECRY.chat.traitmalus"}}: {{trait.name}} ({{trait.system.level}}) </li>
{{/if}}
{{/each}}
{{#if bonusMalusTraits}}
<li>{{localize "ECRY.chat.bonusmalustraits"}}: {{bonusMalusTraits}} </li>
{{/if}}
2023-10-12 08:28:30 +02:00
{{#if (isGM)}}
{{else}}
<li>{{localize "ECRY.ui.execution"}} : {{executionTotal}}</li>
<li>{{localize "ECRY.ui.preservation"}} : {{preservationTotal}}</li>
{{/if}}
2023-06-01 22:13:04 +02:00
</ul>
2023-10-12 08:28:30 +02:00
2023-07-21 21:21:17 +02:00
{{#if (isGM)}}
{{#if (eq mode "cephaly")}}
<div>
<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="button-apply-cephaly-difficulty">{{localize "ECRY.ui.cephalydifficulty"}}</button>
{{else}}
<button class="button-select-confront">{{localize "ECRY.ui.selectconfront"}}</button>
{{/if}}
2023-10-12 08:28:30 +02:00
{{else}}
<div>
{{localize "ECRY.chat.sentogm"}}
</div>
2023-07-21 21:21:17 +02:00
{{/if}}
2023-06-01 22:13:04 +02:00
</div>
</div>