57 lines
1.4 KiB
Handlebars
57 lines
1.4 KiB
Handlebars
{{!log 'chat-message' this}}
|
|
<div class="{{cssClass}}">
|
|
<div class="intro-chat">
|
|
<div class="intro-img">
|
|
<img src="{{actingCharImg}}" data-tooltip="{{actingCharName}}" />
|
|
</div>
|
|
<div class="intro-right">
|
|
<ul>
|
|
|
|
{{#if (eq rollType "skill")}}
|
|
<li><strong>{{localize "FTLNOMAD.Label.skillRoll"}}</strong></li>
|
|
{{/if}}
|
|
|
|
|
|
{{#if weapon}}
|
|
<li><strong>Weapon : {{weapon.name}}</strong></li>
|
|
{{/if}}
|
|
|
|
<li><strong>{{localize rollItem.label}} : {{fullFormula}}</strong></li>
|
|
|
|
{{#if isEncumbered}}
|
|
<li class="red-warning">Encumbered : -1D</li>
|
|
{{/if}}
|
|
|
|
<li>{{localize "FTLNOMAD.Label.modifier"}} : {{skillModifier}}D {{rangeModifier}}D {{numericModifier}}D</li>
|
|
|
|
{{#if isSuccess}}
|
|
<li class="result-success">
|
|
{{localize "FTLNOMAD.Label.success"}}
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if isFailure}}
|
|
<li class="result-failure">
|
|
{{localize "FTLNOMAD.Label.failure"}}
|
|
</li>
|
|
{{/if}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{{#if isDamage}}
|
|
<div>
|
|
{{#if (and isGM hasTarget)}}
|
|
{{{localize "FTLNOMAD.Roll.displayArmor" targetName=targetName targetArmor=targetArmor
|
|
realDamage=realDamage}}}
|
|
{{/if}}
|
|
</div>
|
|
{{/if}}
|
|
{{#unless isPrivate}}
|
|
<div class="dice-result">
|
|
<h4 class="dice-total">{{total}}</h4>
|
|
<div class="dice-formula">{{formula}}</div>
|
|
{{{tooltip}}}
|
|
</div>
|
|
{{/unless}}
|
|
</div> |