61 lines
1.2 KiB
Handlebars
61 lines
1.2 KiB
Handlebars
<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="{{name}}" />
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="flexcol">
|
|
</div>
|
|
|
|
<div>
|
|
<ul>
|
|
{{#if target}}
|
|
<li>Target Roll : {{target}}-
|
|
</li>
|
|
{{/if}}
|
|
|
|
{{#if rollSource}}
|
|
<li>Roll : {{rollSource}}</li>
|
|
{{/if}}
|
|
|
|
{{#if charac}}
|
|
<li>CHAR : {{charac.label}}</li>
|
|
{{/if}}
|
|
|
|
{{#if item}}
|
|
<li>{{item.name}} ({{upperFirst item.type}})</li>
|
|
{{/if}}
|
|
|
|
{{#if (exists bonusMalus)}}
|
|
<li>Bonus/Penalty : {{bonusMalus}}
|
|
</li>
|
|
{{/if}}
|
|
|
|
<li><strong>Result : {{result}}</strong>
|
|
{{#if (exists margin)}}
|
|
({{#if isSuccess}}Success!!{{else}}Failure!{{/if}})
|
|
{{/if}}
|
|
</li>
|
|
|
|
{{#if (exists bodyValue)}}
|
|
<li><strong>BODY : {{bodyValue}}</strong>
|
|
{{/if}}
|
|
|
|
{{#if (exists margin)}}
|
|
<li><strong>Margin : {{margin}}</strong>
|
|
{{/if}}
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|