Compose independent utility cards with classic Leader Skills

This commit is contained in:
Quintine committed 2026-10-17 14:17:24 +11:00
1 parent 40a5e51229
commit 5a32c1ac85
23 files changed
+1845 -87

No files matched your search

+8
View File
@@ -59,6 +59,14 @@ export function validBattleSlotPair(
);
}
/** A Planetologist substitution suppresses only the selected weapon's native effect. */
export function usesNativeBattleSpecial(
plan: Readonly<{ weapon?: unknown; defense?: unknown; planetologistSpecial?: unknown }>,
card: 'ecaz-reinforcements' | 'ecaz-harass-withdraw',
): boolean {
return plan.defense === card || (plan.weapon === card && plan.planetologistSpecial !== true);
}
/**
* Prescience asks for the selected category rather than physical slot
* occupancy. Exact Ecaz battle specials answer null without revealing their