{{#if (compare 'str' specialRoll '===' 'damage')}}Attack Roll{{else if isSlaEbbSkill}}Ebb Check{{else}}Normal Roll{{/if}}
{{#if (compare 'str' specialRoll '===' 'damage')}} ATK {{else if isSlaEbbSkill}} EBB {{else}} CHK {{/if}}
{{chatStyle.emblem}}{{chatStyle.label}}
{{#if (compare 'int' msgHeader.length '>=' 22)}}
{{{msgHeader}}}
{{else}}
{{{msgHeader}}}
{{/if}}
{{#if (compare 'str' specialRoll '!==' 'damage')}}
{{#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.outcomeHtml}}} {{{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}} {{#unless isSlaEbbSkill}} {{#if rollBreakdown}} {{/if}} {{/unless}} {{/if}} {{#if (compare 'str' specialRoll '===' 'damage')}}
{{{flavorText}}}
{{#if needsDesc}}
Description
{{{weapon.system.description}}}
{{#if woundEffect}}
{{ localize 'Mosh.WoundEffect' }}
{{/if}}
{{/if}} {{else}} {{#if parsedRollResult.success}} {{#if flavorText}}
{{{flavorText}}}
{{/if}} {{#if weapon}}
{{/if}} {{#if criticalSuccessOptions.length}}
Critical Success Options
{{#each criticalSuccessOptions as |option|}} {{/each}}
{{/if}} {{#if weapon}} {{#if needsDesc}}
{{ localize 'Mosh.Description' }}
{{{weapon.system.description}}}
{{#if woundEffect}}
{{ localize 'Mosh.WoundEffect' }}
{{/if}}
{{/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 or 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}}