{{!log 'chat-message' this}}
{{actingCharName}} - {{upperFirst rollName}} {{#if (match rollType "attack")}} Attack roll ! {{/if}} {{#if (match rollType "defense")}} Defense roll ! {{/if}} {{#if badResult}} {{localize "LETHALFANTASY.Label.otherResult"}} : {{badResult}} {{/if}} {{#if rollTarget.weapon}} {{rollTarget.weapon.name}} {{/if}} Formula : {{titleFormula}} {{#each diceResults as |result|}} {{result.dice}} : {{result.value}} {{/each}}
{{#if isSave}}
{{#if (eq resultType "success")}} {{#if isPrivate}}?{{else}}{{localize "LETHALFANTASY.Roll.success"}}{{/if}} {{else}} {{#if isPrivate}}?{{else}}{{localize "LETHALFANTASY.Roll.failure"}}{{/if}} {{/if}}
{{/if}} {{#if isResource}}
{{#if (eq resultType "success")}} {{#if isPrivate}}?{{else}}{{localize "LETHALFANTASY.Roll.success"}}{{/if}} {{else}} {{#if isPrivate}}?{{else}}{{localize "LETHALFANTASY.Roll.failure"}}{{#if isFailure}} ({{localize "LETHALFANTASY.Roll.resourceLost"}}){{/if}}{{/if}} {{/if}}
{{/if}} {{#if isDamage}}
{{#if (and isGM hasTarget)}} {{{localize "LETHALFANTASY.Roll.displayArmor" targetName=targetName targetArmor=targetArmor realDamage=realDamage}}} {{/if}}
{{/if}} {{#unless isPrivate}}

{{total}}

{{#if D30result}}

D30 result: {{D30result}}

{{/if}} {{/unless}}