31 lines
1.1 KiB
Handlebars
31 lines
1.1 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">
|
|
<p class="introText" {{#if isSave}}data-tooltip="{{introTextTooltip}}"{{/if}}>{{{introText}}}
|
|
{{#if (eq rollType "skill")}}
|
|
<span>{{rollItem.name}} : {{targetScore}}</span>
|
|
<span>Modifier : {{modifier}}</span>
|
|
{{/if}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
{{#if isDamage}}
|
|
<div>
|
|
{{#if (and isGM hasTarget)}}
|
|
{{{localize "TENEBRIS.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>
|