Connect printed flight and poison plays to Truthtrance
This commit is contained in:
1 parent
b02839ce2a
commit
6a0fba860d
17 files changed
+963
-41
No files matched your search
@@ -1,4 +1,5 @@
|
||||
export const PRINTED_CARD_EFFECTS = ['hajr', 'ghola', 'nullentropyBox', 'distrans', 'juiceOfSapho', 'semutaDrug'] as const;
|
||||
export const PRINTED_CARD_EFFECTS = ['hajr', 'ghola', 'nullentropyBox', 'distrans', 'juiceOfSapho', 'semutaDrug',
|
||||
'ornithopter', 'residualPoison'] as const;
|
||||
export type PrintedCardEffect = typeof PRINTED_CARD_EFFECTS[number];
|
||||
export type PrintedCardPlayCounts = {
|
||||
turn: number;
|
||||
@@ -56,7 +57,8 @@ export function printedCardPlayCount(counts: PrintedCardPlayCounts | undefined,
|
||||
|
||||
/** Call once for each actually accepted printed-role play, never for an effect,
|
||||
* sale, discard, recovery or role conversion. Semuta requires its physical
|
||||
* exchange, not commitment or candidate inspection. Genuine reacquisition may replay. */
|
||||
* exchange, not commitment or candidate inspection. Ornithopter counts placement
|
||||
* into its native flight, not each group or final disposal. Genuine reacquisition may replay. */
|
||||
export function recordPrintedCardPlay(counts: PrintedCardPlayCounts | undefined, player: string,
|
||||
turn: number, cardEffect: PrintedCardEffect): PrintedCardPlayCounts {
|
||||
validateRequest(player, turn, cardEffect);
|
||||
|
||||
Reference in new issue
Block a user