diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-01 21:30:15 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-01 21:30:15 +0000 |
commit | 23ca7e8de0d66aa9ac65980fa016a7a94cfde7e5 (patch) | |
tree | caa420e5399b295e9b486d60a1c51844e6938b79 | |
parent | 2f06b63bf6a38f33161fbdb9513077c12e1e7cbc (diff) | |
download | 1989-dawn-of-freedom-23ca7e8de0d66aa9ac65980fa016a7a94cfde7e5.tar.gz |
Fix the Tyrant is gone
-rw-r--r-- | rules.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 } } |