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-02 08:22:06 +0000 |
commit | cba31c4958fb137fe45bad52d1965038022b35ea (patch) | |
tree | 02d41bf3e21e1b5c2de5357ca29a821eb14052b3 | |
parent | dca4c68dd6987769fa98a0425a389eac336df434 (diff) | |
download | 1989-dawn-of-freedom-cba31c4958fb137fe45bad52d1965038022b35ea.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 } } |