2024-12-04 00:11:23 +01:00
|
|
|
{{!log 'chat-message' this}}
|
|
|
|
<div class="{{cssClass}}">
|
|
|
|
<div class="intro-chat">
|
2024-12-17 09:25:02 +01:00
|
|
|
<div class="intro-img">
|
|
|
|
<img src="{{actingCharImg}}" data-tooltip="{{actingCharName}}" />
|
|
|
|
</div>
|
2024-12-17 15:47:36 +01:00
|
|
|
<div class="intro-right">
|
|
|
|
<ul>
|
|
|
|
{{#if (eq rollType "skill")}}
|
|
|
|
<li><strong>{{localize "CTHULHUETERNAL.Label.skillRoll"}} {{rollItem.name}} : {{initialScore}}</strong></li>
|
|
|
|
<li>{{localize "CTHULHUETERNAL.Label.modifier"}} : {{modifier}}</li>
|
|
|
|
<li>{{localize "CTHULHUETERNAL.Label.finalScore"}} : {{targetScore}}</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if isSuccess}}
|
|
|
|
{{#if isCritical}}
|
|
|
|
<li class="result-critical-success">{{localize "CTHULHUETERNAL.Label.criticalSuccess"}}</li>
|
|
|
|
{{else}}
|
|
|
|
<li class="result-success">{{localize "CTHULHUETERNAL.Label.success"}}</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if isFailure}}
|
|
|
|
{{#if isCritical}}
|
|
|
|
<li class="result-critical-failure">{{localize "CTHULHUETERNAL.Label.criticalFailure"}}</li>
|
|
|
|
{{else}}
|
|
|
|
<li class="result-failure">{{localize "CTHULHUETERNAL.Label.failure"}}</li>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
2024-12-04 00:11:23 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{#if isDamage}}
|
|
|
|
<div>
|
|
|
|
{{#if (and isGM hasTarget)}}
|
2024-12-17 15:47:36 +01:00
|
|
|
{{{localize "CTHULHUETERNAL.Roll.displayArmor" targetName=targetName targetArmor=targetArmor realDamage=realDamage}}}
|
2024-12-04 00:11:23 +01:00
|
|
|
{{/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>
|