From cba31c4958fb137fe45bad52d1965038022b35ea Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 1 Nov 2024 21:30:15 +0000 Subject: Fix the Tyrant is gone --- rules.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 142002f..56e31cb 100644 --- a/rules.js +++ b/rules.js @@ -585,7 +585,6 @@ states.play_card ={ return `play ${clean_name(cards[game.played_card].name)}.` }, prompt () { - console.log('game.playable_cards', game.playable_cards) view.prompt = `Play ${clean_name(cards[game.played_card].name)} for:` if (scoring_cards.includes(game.played_card)) { @@ -3652,14 +3651,14 @@ function reset_power() { } function check_tyrant() { - if (game.the_tyrant_is_gone > 0 && check_dem_control(game.the_tyrant_is_gone)) { + if (game.the_tyrant_is_gone > 0 && game.the_tyrant_is_gone !== 111 && check_dem_control(game.the_tyrant_is_gone)) { log('+2 VP from C97') game.vp += 2 if (check_vp()) { return } game.persistent_events = game.persistent_events.filter(n => n !== C_THE_TYRANT_IS_GONE) - delete game.the_tyrant_is_gone + game.the_tyrant_is_gone = 111 } } -- cgit v1.2.3