summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-16 22:16:52 +0000
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit45e37f44bb23472467698514d8dacd6ed2be5caf (patch)
treee4d847d754159fe48b29435bb88f2bd9d3f54ec8 /rules.js
parent1c7726f8e4b8605d0f496782f3f16c86d8efe7c4 (diff)
downloadshores-of-tripoli-45e37f44bb23472467698514d8dacd6ed2be5caf.tar.gz
tripoli: Remove cards played from the discard with Bainbridge.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index a91bd2d..c8c9c59 100644
--- a/rules.js
+++ b/rules.js
@@ -399,6 +399,7 @@ function play_card(player, card) {
log(game.active + " plays \u{201c}" + CARD_NAMES[card] + "\u{201d}.");
remove_from_array(player.core, card);
remove_from_array(player.hand, card);
+ remove_from_array(player.discard, card);
if (REMOVE_AFTER_PLAY.includes(card))
game.removed.push(card);
else
@@ -1233,7 +1234,7 @@ function goto_allocate_tripolitan_hits() {
}
function format_allocate_hits(n) {
- if (n == 0) return "Allocate hits \u2014 none.";
+ if (n == 0) return "Allocate hits \u2014 done.";
if (n == 1) return "Allocate hits \u2014 1 left.";
return "Allocate hits \u2014 " + n + " left.";
}