Reflected permanent curses return to their caster (rules rev 11)
SLOW DEATH, WALKING DEAD, and IDIOT ride no damage or duration pipe, so a FULL REFLECTION used to evaporate them; per the FAQ reflections act on the cast, so the returned curse now opens its stack against the caster like any reflected spell. Marked permanentCurse on the three defs; older ledgers keep the evaporation. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015RCWSTnb1KYTPyL4GmhGnF
This commit is contained in:
co-authored by
Claude Fable 5
parent
e885325098
commit
dd6ba59220
@@ -170,6 +170,26 @@ describe("slow death", () => {
|
||||
expect(state.players.find((p) => p.id === defender)!.life).toBe(17);
|
||||
});
|
||||
|
||||
it("a full reflection returns the curse onto its caster (rev 11)", () => {
|
||||
let { state } = newGame();
|
||||
state = toRound2(state);
|
||||
const { attacker, defender } = faceOff(state);
|
||||
const sd = giveCard(state, attacker, "slow-death");
|
||||
giveCard(state, defender, "full-reflection", "FR", 0);
|
||||
const r = applyCommand(state, attacker, {
|
||||
type: "cast", instanceId: sd.instanceId, target: { kind: "player", playerId: defender },
|
||||
});
|
||||
if (!r.ok) throw new Error(r.error);
|
||||
state = must(r.state, defender, { type: "counteract", instanceId: "full-reflection#FR" });
|
||||
state = drain(state);
|
||||
expect(sustainedOn(state, defender, "slow-death").length).toBe(0);
|
||||
expect(sustainedOn(state, attacker, "slow-death").length).toBe(1);
|
||||
|
||||
// The caster now bleeds for their own draws.
|
||||
state = must(state, attacker, { type: "endTurn", draw: 1 });
|
||||
expect(state.players.find((p) => p.id === attacker)!.life).toBe(14);
|
||||
});
|
||||
|
||||
it("older decks attach the biting curse through a reverse (rev ≤10)", () => {
|
||||
let { state } = createGame({ playerIds: ["alice", "bob"], seed: 42, sets: ["basic"], deckRev: 10 });
|
||||
state = toRound2(state);
|
||||
|
||||
Reference in New Issue
Block a user