diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-08-07 12:57:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:31:29 +0100 |
commit | 6b112e39c3aba3048118802654d832156d6a0522 (patch) | |
tree | 335c8b4ac88e178aeea003048ecaf5d1e4019759 | |
parent | e571f1de33b202c9299915f207fd317dad40120c (diff) | |
download | pax-pamir-6b112e39c3aba3048118802654d832156d6a0522.tar.gz |
Fix bug with Pashtunwali Values and impact change events.
-rw-r--r-- | rules.js | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2595,8 +2595,12 @@ const events_if_discarded = { } function goto_favored_suit_event(suit) { - game.state = 'favored_suit' - game.where = suit + if (!game.events.pashtunwali_values) { + game.state = 'favored_suit' + game.where = suit + } else { + goto_discard_events() + } } states.favored_suit = { @@ -2716,10 +2720,6 @@ const events_if_purchased = { } -// TODO: other_persuasive_methods -// TODO: pashtunwali_values -// TODO: rebuke - function check_public_withdrawal() { // Remove any money placed on card "Public Withdrawal" from the game. for (let row = 0; row < 2; ++row) |