53 lines
1.9 KiB
Handlebars
53 lines
1.9 KiB
Handlebars
<div class="{{cssClass}}">
|
|
<div class="chat-lethal-damage">
|
|
<ul>
|
|
<li><strong>{{weapon.name}} : {{localize "CTHULHUETERNAL.Label.lethalityRoll"}}</strong></li>
|
|
<li>{{localize "CTHULHUETERNAL.Label.result"}} :{{rollResult}} ({{lethalScore}})</li>
|
|
|
|
|
|
{{#if weapon.system.selectiveFireChoice}}
|
|
<li>{{weapon.system.selectiveFireChoiceLabel}}</li>
|
|
{{/if}}
|
|
{{#if (gt weapon.system.killRadius 0)}}
|
|
<li>{{localize "CTHULHUETERNAL.Label.killRadius"}} : {{weapon.system.killRadius}} {{weapon.system.rangeUnit}}</li>
|
|
<li>{{localize "CTHULHUETERNAL.Label.killRadiusInfo"}}</li>
|
|
{{/if}}
|
|
|
|
{{#if (gt weapon.system.armorPiercing 0)}}
|
|
<li>{{localize "CTHULHUETERNAL.Label.armorPiercing"}} : {{weapon.system.armorPiercing}}</li>
|
|
{{/if}}
|
|
|
|
{{#if ammoUsed}}
|
|
<li>{{localize "CTHULHUETERNAL.Label.ammoUsed"}}: {{ammoUsed}} / {{weapon.system.ammo.value}}</li>
|
|
{{/if}}
|
|
|
|
<li class="li-apply-wounds">
|
|
<div>{{localize "CTHULHUETERNAL.Label.applyWounds"}}</div>
|
|
<div class="combatants-grid">
|
|
{{#each combatants}}
|
|
<button
|
|
class="apply-wounds-btn chat-action-button"
|
|
data-combatant-id="{{this.id}}"
|
|
data-actor-id="{{this.actorId}}"
|
|
data-token-id="{{this.tokenId}}"
|
|
title="{{this.name}}"
|
|
>
|
|
{{this.name}}
|
|
</button>
|
|
{{/each}}
|
|
</div>
|
|
</li>
|
|
|
|
{{#if isLethal}}
|
|
<li class="result-lethal">{{localize "CTHULHUETERNAL.Label.lethalityLethal"}}</li>
|
|
<li class="result-lethal">{{localize "CTHULHUETERNAL.Label.lethalityWounded"}}</li>
|
|
{{else}}
|
|
<li class="result-non-lethal">{{localize "CTHULHUETERNAL.Label.lethalityNotLethal"}}</li>
|
|
<li class="result-non-lethal">{{localize "CTHULHUETERNAL.Label.lethalityNotWounded"}}: <strong>{{wounds}}</strong>
|
|
</li>
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
</div> |