Reversed, Walking Dead heals half a point per step (rules rev 11)
The same FAQ turn as Slow Death's: a REVERSE riding the cast attaches the curse backward, and every second space walked gains the point the bite would have taken. Older ledgers attached it biting and replay so. 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
4430a0def1
commit
b538a0a2ae
@@ -170,6 +170,32 @@ describe("slow death", () => {
|
||||
expect(state.players.find((p) => p.id === defender)!.life).toBe(17);
|
||||
});
|
||||
|
||||
it("a reversed walking dead heals half a point per space walked (rev 11)", () => {
|
||||
let { state } = newGame();
|
||||
state = toRound2(state);
|
||||
const { attacker, defender } = faceOff(state);
|
||||
const wd = giveCard(state, attacker, "walking-dead");
|
||||
giveCard(state, defender, "reverse", "RV", 0);
|
||||
const r = applyCommand(state, attacker, {
|
||||
type: "cast", instanceId: wd.instanceId, target: { kind: "player", playerId: defender },
|
||||
});
|
||||
if (!r.ok) throw new Error(r.error);
|
||||
state = must(r.state, defender, { type: "counteract", instanceId: "reverse#RV" });
|
||||
state = drain(state);
|
||||
expect(sustainedOn(state, defender, "walking-dead").length).toBe(1);
|
||||
|
||||
state = must(state, attacker, { type: "endTurn", draw: 0 });
|
||||
// Two spaces walked: one point gained, not bled.
|
||||
let steps = 0;
|
||||
for (const dir of ["N", "S", "E", "W", "N", "S", "E", "W"] as const) {
|
||||
if (steps >= 2) break;
|
||||
const mv = applyCommand(state, defender, { type: "move", direction: dir });
|
||||
if (mv.ok) { state = mv.state; steps++; }
|
||||
}
|
||||
expect(steps).toBe(2);
|
||||
expect(state.players.find((p) => p.id === defender)!.life).toBe(16);
|
||||
});
|
||||
|
||||
it("a full reflection returns the curse onto its caster (rev 11)", () => {
|
||||
let { state } = newGame();
|
||||
state = toRound2(state);
|
||||
|
||||
Reference in New Issue
Block a user