summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-11 12:48:08 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-11 12:48:08 +0100
commit2e77e4a9cf7317db567abe1203feb4d00b52ddb8 (patch)
tree3362339833cc7a4040cac289f0a40f366b9d1b38 /rules.js
parent839ab1eec84287f78a8068fee8d3d42e258a53c3 (diff)
downloadmaria-2e77e4a9cf7317db567abe1203feb4d00b52ddb8.tar.gz
tc
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js12
1 files changed, 0 insertions, 12 deletions
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
}
}