This repository has been archived on 2023-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-avd12/templates/chat/chat-generic-result.hbs

54 lines
1.1 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 skill}}
<li>Skill : {{skill.name}} ({{skill.finalvalue}})
</li>
{{/if}}
{{#if crafting}}
<li>Crafting : {{crafting.name}} ({{crafting.system.level}})
</li>
{{/if}}
{{#if spell}}
<li>Spell : {{spell.name}} ({{spell.system.level}})
</li>
<li>Focus Points Spent : {{spellCost}}
</li>
{{/if}}
<li>Bonus/Malus {{bonusMalusRoll}} </li>
<li>Dice Formula {{diceFormula}} </li>
<li>Result {{roll.total}} </li>
{{#if (ne targetCheck "none")}}
{{#if isSuccess}}
<li><strong>Success !</strong></li>
{{else}}
<li><strong>Failure !</strong></li>
{{/if}}
{{/if}}
</ul>
</div>
</div>