diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-08 18:07:00 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-08 18:07:00 +0100 |
commit | c96c7ddc4c81179616a85b5920d27b45ae093a34 (patch) | |
tree | 6de2dabec7bd7671d6ce4a3c1fad52f6deed7a25 /rules.js | |
parent | da2a074a08fe38ccaf340f904300a48b9b80161c (diff) | |
download | 1989-dawn-of-freedom-c96c7ddc4c81179616a85b5920d27b45ae093a34.tar.gz |
Fix for AHBR with Common European Home cards
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -6906,6 +6906,10 @@ states.vm_common_european_home_play = { push_undo()
game.vm_available_ops = cards[game.vm_event].ops
valid_spaces_infl()
+ // If ABHR - Set AHBR tracker to true
+ if (game.persistent_events.includes(58)) {
+ game.austria_hungary_border_reopened_tracker = true
+ }
game.state = 'vm_add_infl'
},
support_check() {
@@ -7225,7 +7229,11 @@ states.vm_goodbye_lenin_ops = { }*/
console.log('goodbye lenin: influence selected')
valid_spaces_infl()
-
+
+ // If ABHR - Set AHBR tracker to true
+ if (game.persistent_events.includes(58)) {
+ game.austria_hungary_border_reopened_tracker = true
+ }
game.state = 'vm_add_infl'
},
support_check() {
@@ -8639,6 +8647,10 @@ states.vm_tst_8_ops = { push_undo()
game.vm_available_ops = cards[game.played_card].ops
valid_spaces_infl()
+ // If ABHR - Set AHBR tracker to true
+ if (game.persistent_events.includes(58)) {
+ game.austria_hungary_border_reopened_tracker = true
+ }
game.state = 'vm_add_infl'
},
support_check() {
|