diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-16 22:16:52 +0000 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 45e37f44bb23472467698514d8dacd6ed2be5caf (patch) | |
tree | e4d847d754159fe48b29435bb88f2bd9d3f54ec8 /rules.js | |
parent | 1c7726f8e4b8605d0f496782f3f16c86d8efe7c4 (diff) | |
download | shores-of-tripoli-45e37f44bb23472467698514d8dacd6ed2be5caf.tar.gz |
tripoli: Remove cards played from the discard with Bainbridge.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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."; } |