Waving Hands

Waving Hands

{#if duel.state.turn === 0 && !duel.timeStopped}

You are {duel.you.name}, duelling {duel.foe.name}. Each turn, both wizards choose one gesture per hand and reveal them together. The right run of gestures on one hand is a spell.

{:else}

You are {duel.you.name}, duelling {duel.foe.name}.

{/if}
{#if confirmingNew}

Abandon the duel against {duel.foe.name}? Turn {duel.turnNumber} will be lost.

{/if}
{#if outcome}

{won ? 'You win.' : outcome.winner === null ? 'A draw.' : 'You lose.'}

{outcome.reason}

{:else}
{#if duel.timeStopped}

Time stands still. Take your extra turn.

{duel.foe.name} cannot move, see this, or resist anything you do. Last turn's enchantments do not bind you.

{:else}

Turn {duel.turnNumber}: write your gestures{#if duel.hasted}, twice{/if}

{/if} {#if duel.timeStopped} {:else if duel.threats.length}
{#if duel.threatsNow.length}

Their hands could finish this turn:

    {#each duel.threatsNow as t (t.hand + t.spell.id)} {@const active = duel.highlight?.hand === t.hand && duel.highlight.from === t.from}
  • {/each}
{/if} {#if duel.threatsNext.length}
Two gestures away ({duel.threatsNext.length})
    {#each duel.threatsNext as t (t.hand + t.spell.id)} {@const active = duel.highlight?.hand === t.hand && duel.highlight.from === t.from && duel.highlight.to === t.to}
  • {/each}
{/if}
{:else}

Nothing hostile is one gesture away.

{/if}
{#if duel.hasted}

You are hastened: a second pair of gestures follows the first, and both take effect together.

{/if}
{#if duel.stabbing} {/if} {#each duel.yourMonsters as m (m.id)} {/each} {#if duel.bankedSpell} {/if} {#if duel.bankCandidates.length > 1} {/if} {#if duel.permanentCandidates.length > 1} {/if} {#if duel.youCharmedFoe} {/if}
{#if duel.surrendering}

Both palms at once is surrender. You will lose the duel.

{/if} {#if duel.conflict}

Those two spells share a gesture. A gesture can finish only one spell; let one of them pass.

{/if}
{/if}