{{#if (compare 'int' msgHeader.length '>=' 22)}}
{{{msgHeader}}}
{{else}}
{{{msgHeader}}}
{{/if}}
{{#if (compare 'str' specialRoll '!==' 'damage')}} {{{parsedRollResult.outcomeHtml}}}
{{#if (compare 'int' parsedRollResult.total '>=' 90)}} {{ localize 'Mosh.YouRolled90OrHigher' }} {{else}} {{#if isSlaEbbSkill}} {{#if (compare 'int' skillValue '>' 0)}} You {{{outcomeVerb}}} {{{comparisonText}}} your {{{attribute}}} plus the {{{skill}}} discipline. {{else}} You {{{outcomeVerb}}} {{{comparisonText}}} your {{{attribute}}} while channeling {{{skill}}}. {{/if}} {{else}} {{#if (compare 'int' skillValue '>' 0)}} You {{{outcomeVerb}}} {{{comparisonText}}} your {{{attribute}}} plus {{{skill}}} skill bonus. {{else}} You {{{outcomeVerb}}} {{{comparisonText}}} your {{{attribute}}}. {{/if}} {{/if}} {{/if}}
{{{parsedRollResult.rollHtml}}} {{#if isSlaEbbSkill}}
Ebb Discipline
{{skill}}{{#if skillCategory}} | {{skillCategory}}{{/if}} | Bonus +{{skillValue}}
{{#if ebbTier}}
Tier: {{ebbTier}}
{{/if}} {{#if fluxCost}}
Flux Used: {{fluxCost}}
{{/if}} {{#if rollBreakdown}}
Target Number: {{#each rollBreakdown.parts as |part index|}}{{#if index}} + {{/if}}{{part.label}} {{part.value}}{{/each}} = {{rollBreakdown.total}}
{{/if}} {{#if rollBreakdown.support.length}}
Support:
{{#each rollBreakdown.support as |part|}}
{{part.label}} {{#if (compare 'int' part.value '>=' 0)}}+{{/if}}{{part.value}}{{#if part.note}} ({{part.note}}){{/if}}
{{/each}} {{/if}}
{{/if}} {{/if}}
{{#if (compare 'str' specialRoll '===' 'damage')}}
{{{flavorText}}}
{{#if needsDesc}}
DESCRIPTION
{{{weapon.system.description}}}
{{#if woundEffect}}

{{ localize 'Mosh.WoundEffect' }}
{{{woundEffect}}}
{{/if}} {{/if}}
{{else}} {{#if parsedRollResult.success}} {{#if weapon}}
{{{flavorText}}}
{{#if criticalSuccessOptions.length}}
Critical Success Options
    {{#each criticalSuccessOptions as |option|}}
  1. {{option}}
  2. {{/each}}
{{/if}} {{#if needsDesc}}
{{ localize 'Mosh.Description' }}
{{{weapon.system.description}}}
{{#if woundEffect}}

{{ localize 'Mosh.WoundEffect' }}
{{{woundEffect}}}
{{/if}} {{/if}}
{{else}}
{{{flavorText}}}
{{#if criticalSuccessOptions.length}}
Critical Success Options
    {{#each criticalSuccessOptions as |option|}}
  1. {{option}}
  2. {{/each}}
{{/if}} {{/if}} {{else}} {{#if flavorText}}
{{{flavorText}}}
{{/if}} {{#if criticalFailureTable}}
{{criticalFailureTable.label}}
d10: {{criticalFailureTable.roll}}
{{criticalFailureTable.entry.title}}
{{criticalFailureTable.entry.effect}}
{{/if}} {{#if critFail}}

@UUID[Compendium.mosh.macros_hotbar_1e.IgWvaabVqzKDzLL4]{Make a Panic Check} {{/if}} {{/if}} {{/if}} {{#if targetingResult}}
Target Resolution
{{targetingResult.targetName}} took {{targetingResult.finalDamage}} damage.
Rolled {{targetingResult.rawDamage}}. Armour reduced {{targetingResult.armourReduced}}{{#if targetingResult.armourPiercing}} after AP/anti-armour effects{{/if}}.
{{#if targetingResult.additionalTargets}}
{{targetingResult.additionalTargets}} additional targeted token(s) were ignored for this automatic application.
{{/if}} {{#if targetingResult.updateText}}
{{{targetingResult.updateText}}}
{{/if}} {{#if targetingResult.warning}}
{{targetingResult.warning}}
{{/if}}
{{/if}}