From 6ba53ecea10f68df8af6853287047f628e658dc0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 18 Dec 2023 11:41:28 +0100 Subject: Player must have at least one card to be Taxed with Ancient Lineage. --- rules.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules.js b/rules.js index a9c78d1..f51bbb2 100644 --- a/rules.js +++ b/rules.js @@ -1467,6 +1467,8 @@ function can_tax_player(active, p, claim) { let okay = claim let shelter = 0 let court = game.players[p].court + if (court.length === 0) + return false for (let i = 0; i < court.length; ++i) { let c = court[i] if (!okay && player_rules_region(active, cards[c].region)) -- cgit v1.2.3