fvtt-hero-system-6/templates/chat/chat-generic-result.hbs

61 lines
1.3 KiB
Handlebars
Raw Normal View History

2022-12-15 21:44:23 +01:00
<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>
<div class="flexcol">
</div>
<div>
<ul>
2023-03-24 10:17:20 +01:00
{{#if target}}
2023-02-01 12:16:04 +01:00
<li>Target Roll : {{target}}-
2022-12-15 21:44:23 +01:00
</li>
2023-03-24 10:17:20 +01:00
{{/if}}
{{#if rollSource}}
<li>Roll : {{rollSource}}</li>
{{/if}}
2022-12-15 21:44:23 +01:00
2023-02-01 12:16:04 +01:00
{{#if charac}}
2023-02-14 15:34:37 +01:00
<li>CHAR : {{charac.label}}</li>
{{/if}}
{{#if item}}
<li>{{item.name}} ({{upperFirst item.type}})</li>
2023-08-09 18:05:16 +02:00
{{#if (eq item.type "maneuver")}}
<li>{{item.system.effects}}</li>
{{#if item.system.haseffectroll}}
<li>{{item.system.effectrollformula}}</li>
{{/if}}
{{/if}}
2022-12-15 21:44:23 +01:00
{{/if}}
2023-02-14 15:34:37 +01:00
2023-03-24 10:17:20 +01:00
{{#if (exists bonusMalus)}}
2023-02-21 20:22:08 +01:00
<li>Bonus/Penalty : {{bonusMalus}}
2022-12-15 21:44:23 +01:00
</li>
2023-03-24 10:17:20 +01:00
{{/if}}
2023-06-30 17:21:11 +02:00
<li><strong>TOTAL : {{result}}</strong>
2023-03-24 10:17:20 +01:00
{{#if (exists margin)}}
({{#if isSuccess}}Success!!{{else}}Failure!{{/if}})
{{/if}}
</li>
2022-12-15 21:44:23 +01:00
2023-03-24 10:17:20 +01:00
{{#if (exists bodyValue)}}
<li><strong>BODY : {{bodyValue}}</strong>
{{/if}}
{{#if (exists margin)}}
2023-02-14 15:34:37 +01:00
<li><strong>Margin : {{margin}}</strong>
2023-03-24 10:17:20 +01:00
{{/if}}
2022-12-15 21:44:23 +01:00
</ul>
</div>
</div>