diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-11 12:48:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-11 12:48:08 +0100 |
commit | 2e77e4a9cf7317db567abe1203feb4d00b52ddb8 (patch) | |
tree | 3362339833cc7a4040cac289f0a40f366b9d1b38 /rules.js | |
parent | 839ab1eec84287f78a8068fee8d3d42e258a53c3 (diff) | |
download | maria-2e77e4a9cf7317db567abe1203feb4d00b52ddb8.tar.gz |
tc
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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 } } |