{{!-- templates/damage-wizard.hbs --}}
{{!-- ═══════════════════════════════════════════════════════════════ --}} {{!-- ZONE PRINCIPALE 3 COLONNES --}} {{!-- ═══════════════════════════════════════════════════════════════ --}}
{{!-- ── COLONNE GAUCHE : ATTAQUANT ─────────────────────────────── --}}
{{attacker.name}}
{{!-- Stats --}}
HP
{{attacker.hpValue}}/{{attacker.hpMax}}
STG
{{attacker.staggerValue}}/{{attacker.staggerMax}}
💡{{attacker.lightValue}}/{{attacker.lightMax}} 💜{{attacker.emotion}}
{{!-- Compétence --}} {{#if attacker.skillName}}
{{attacker.skillName}} {{attacker.skillName}}
{{/if}} {{!-- Dés de l'attaquant --}} {{#if matchupRows}} {{#each matchupRows}} {{#if (eq this.side "atk")}}
{{this.dieType}} {{this.dieType}} {{this.power}} {{this.formulaDisplay}}
{{/if}} {{/each}} {{else}} {{#if attacker.dice}} {{#each attacker.dice}}
{{this.type}} {{this.type}} {{this.formula}}
{{/each}} {{/if}} {{/if}}
{{!-- ── COLONNE CENTRE : RÉSOLUTION ──────────────────────────────── --}}
Résolution
{{#if matchupRows}} {{#each matchupRows}}
{{!-- Ligne principale : type + score VS type + score --}}
{{this.dieType}} {{this.power}} {{#if (eq this.clashType "clash")}} ⚔ {{this.oppType}} {{this.oppPower}} {{else}} — sans opposition — {{/if}}
{{!-- Verdict --}}
{{#if (eq this.verdict "off-win")}}✓ VICTOIRE{{/if}} {{#if (eq this.verdict "off-lose")}}✗ DÉFAITE{{/if}} {{#if (eq this.verdict "tie")}}= ÉGALITÉ{{/if}} {{#if (eq this.verdict "off-win-vs-block")}}✓ vs Block{{/if}} {{#if (eq this.verdict "off-lose-vs-block")}}↑ Block WIN{{/if}} {{#if (eq this.verdict "off-win-vs-evade")}}✓ vs Evade{{/if}} {{#if (eq this.verdict "off-lose-vs-evade")}}🔄 Evade WIN{{/if}} {{#if (eq this.verdict "block-win-vs-off")}}🛡 Block WIN{{/if}} {{#if (eq this.verdict "block-lose-vs-off")}}🛡↓ Block LOSE{{/if}} {{#if (eq this.verdict "block-win-vs-def")}}🛡 Block WIN{{/if}} {{#if (eq this.verdict "block-lose-vs-def")}}🛡↓ Block LOSE{{/if}} {{#if (eq this.verdict "evade-win-vs-off")}}🔄 RECYCLÉ{{/if}} {{#if (eq this.verdict "evade-lose-vs-off")}}↓ Evade LOSE{{/if}} {{#if (eq this.verdict "evade-win-vs-def")}}💚 Stagger Regain{{/if}} {{#if (eq this.verdict "evade-lose-vs-def")}}↓ Evade LOSE{{/if}} {{#if (eq this.verdict "unopposed-off")}}◆ SANS OPP.{{/if}} {{#if (eq this.verdict "unopposed-saved")}}💾 SAUVEGARDÉ{{/if}} {{#if (eq this.verdict "unopposed-counter-noop")}}— Counter inactif{{/if}}
{{!-- Effets --}} {{#if this.effects.length}}
{{#each this.effects}}{{this}}{{/each}}
{{/if}}
{{/each}} {{else}}
Lance les dés pour voir la résolution
{{/if}}
{{!-- ── COLONNE DROITE : DÉFENSEUR ─────────────────────────────── --}}
{{defender.name}}
{{!-- Stats --}}
HP
{{defender.hpValue}}/{{defender.hpMax}}
STG
{{defender.staggerValue}}/{{defender.staggerMax}}
💡{{defender.lightValue}}/{{defender.lightMax}} 💜{{defender.emotion}}
{{!-- Compétence défenseur --}} {{#if isClash}} {{#if defender.skillName}}
{{defender.skillName}} {{defender.skillName}}
{{else}}
— Aucune compétence —
{{/if}} {{else}}
— Attaque directe —
{{/if}} {{!-- Dés du défenseur --}} {{#if matchupRows}} {{#each matchupRows}} {{#if (eq this.side "def")}}
{{this.dieType}} {{this.dieType}} {{this.power}} {{this.formulaDisplay}}
{{/if}} {{/each}} {{else}} {{#if isClash}} {{#if defender.dice}} {{#each defender.dice}}
{{this.type}} {{this.type}} {{this.formula}}
{{/each}} {{/if}} {{/if}} {{/if}}
{{!-- /.dw-main --}} {{!-- ═══════════════════════════════════════════════════════════════ --}} {{!-- BARRE INFÉRIEURE --}} {{!-- ═══════════════════════════════════════════════════════════════ --}}