From 2e77e4a9cf7317db567abe1203feb4d00b52ddb8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 11 Nov 2024 12:48:08 +0100 Subject: tc --- rules.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 6078ef4..4733b6b 100644 --- a/rules.js +++ b/rules.js @@ -1730,20 +1730,9 @@ function total_discard_list() { return discard } -function log_draw_tc(k, pow) { - if (pow >= 0 && k >= 0) { - if (pow !== game.power) - log(`${power_name[pow]} ${k} TC (subsidy).`) - else - log(`${power_name[pow]} ${k} TC.`) - } -} - function draw_tc(draw, n) { - let k = 0 while (n > 0) { if (game.deck.length === 0) { - k = 0 next_tactics_deck() if (game.deck.length === 0) { log("The cards ran out!") @@ -1751,7 +1740,6 @@ function draw_tc(draw, n) { } } set_add(draw, game.deck.pop()) - ++k --n } } -- cgit v1.2.3