summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-08 18:07:00 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-08 18:07:00 +0100
commitc96c7ddc4c81179616a85b5920d27b45ae093a34 (patch)
tree6de2dabec7bd7671d6ce4a3c1fad52f6deed7a25 /rules.js
parentda2a074a08fe38ccaf340f904300a48b9b80161c (diff)
download1989-dawn-of-freedom-c96c7ddc4c81179616a85b5920d27b45ae093a34.tar.gz
Fix for AHBR with Common European Home cards
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 7fd0bb8..094bb5c 100644
--- a/rules.js
+++ b/rules.js
@@ -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() {