A creature's blow is named on the stack: the counter is played against the fire imp's scorch, not a punch (SC59)
The caster whose creature is countered now sees "your attack, answered" and the name of their own blow, instead of an incoming punch with the opponent's counter card standing in the attack slot. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jm2auWk6RP71CjaAb4FMoG
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
c3f63d4eb7
commit
7a0a972452
@@ -3358,6 +3358,17 @@ function springSlimeTrap(state: GameState, events: GameEvent[], victim: PlayerSt
|
||||
}
|
||||
|
||||
/** A creature's blow opens a counteraction window like any attack. */
|
||||
/** What a creature's blow is called on the stack and in the chronicle:
|
||||
* the counteraction is played against this, and the damage is dealt as it. */
|
||||
function creatureBlowName(kind: CreatureState["kind"]): string {
|
||||
switch (kind) {
|
||||
case "fire-imp": return "fire imp's scorch";
|
||||
case "wraith": return "wraith's touch";
|
||||
case "democratic-monster": return "democratic monster's claw";
|
||||
default: return `${kind}'s blow`;
|
||||
}
|
||||
}
|
||||
|
||||
function openCreatureStack(
|
||||
state: GameState,
|
||||
creature: CreatureState,
|
||||
@@ -3370,6 +3381,7 @@ function openCreatureStack(
|
||||
params: { damage },
|
||||
kind,
|
||||
creatureId: creature.id,
|
||||
sourceName: creatureBlowName(creature.kind),
|
||||
...(touch ? { creatureTouch: touch } : {}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user