Update combat tab

This commit is contained in:
2023-03-24 10:17:20 +01:00
parent 4ca23257cb
commit 0368be050b
11 changed files with 163 additions and 97 deletions

View File

@ -18,8 +18,14 @@
<div>
<ul>
{{#if target}}
<li>Target Roll : {{target}}-
</li>
{{/if}}
{{#if rollSource}}
<li>Roll : {{rollSource}}</li>
{{/if}}
{{#if charac}}
<li>CHAR : {{charac.label}}</li>
@ -29,11 +35,24 @@
<li>{{item.name}} ({{upperFirst item.type}})</li>
{{/if}}
{{#if (exists bonusMalus)}}
<li>Bonus/Penalty : {{bonusMalus}}
</li>
{{/if}}
<li><strong>Result : {{result}}</strong> ({{#if isSuccess}}Success!!{{else}}Failure!{{/if}})</li>
<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>