fvtt-hero-system-6/templates/chat/chat-generic-result.hbs
2023-03-14 19:23:19 +01:00

42 lines
831 B
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>
<li>Target Roll : {{target}}-
</li>
{{#if charac}}
<li>CHAR : {{charac.label}}</li>
{{/if}}
{{#if item}}
<li>{{item.name}} ({{upperFirst item.type}})</li>
{{/if}}
<li>Bonus/Penalty : {{bonusMalus}}
</li>
<li><strong>Result : {{result}}</strong> ({{#if isSuccess}}Success!!{{else}}Failure!{{/if}})</li>
<li><strong>Margin : {{margin}}</strong>
</ul>
</div>
</div>