The fireball-then-buddy lockout
Per the owner's favorite play: the pact only breaks when its caster attacks the target, so a blow landed BEFORE the pact leaves it intact. After spending its attack, a non-berserker bot with BUDDY in hand signs it onto the weakest visible unpacted enemy — the one it likely just burned — barring their revenge. The berserker skips it: it would only break its own pact tomorrow. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138A8CjeQRpvzKxuMfz1Bqc
This commit is contained in:
co-authored by
Claude Fable 5
parent
3087f00bdc
commit
21884fa26e
@@ -1250,6 +1250,23 @@ export function automatonCommand(
|
||||
}
|
||||
}
|
||||
|
||||
// BUDDY after the blow: the wounded cannot come looking for payback —
|
||||
// the pact holds unless the clockwork strikes them again. The berserker
|
||||
// skips it; it would only break its own pact tomorrow.
|
||||
if (tier.buffs && view.turn.attackUsed && style !== "berserker") {
|
||||
const pact = inHand(view, "buddy");
|
||||
if (pact) {
|
||||
const sighted = sightedCellsFor(view);
|
||||
const mark = livingEnemies(view)
|
||||
.filter((p) => sighted.has(cellKey(p.position)) &&
|
||||
!view.sustained.some((s) => s.cardId === "buddy" && s.casterId === you && s.targetId === p.id))
|
||||
.sort((a, b) => a.life - b.life)[0];
|
||||
if (mark) {
|
||||
return { type: "cast", instanceId: pact.instanceId, target: { kind: "player", playerId: mark.id } };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// March. The thief-chase outranks everything; the berserker hunts wizards
|
||||
// over gold; the worrier keeps its distance; the hunter goes to the gold.
|
||||
if (view.turn.movementUsed < view.turn.movementAllowance) {
|
||||
|
||||
Reference in New Issue
Block a user