diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-02-09 14:59:54 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-02-09 14:59:54 +0000 |
commit | 54ddff6bd490408c7fb692d4aadbcd3715a2489b (patch) | |
tree | 12e086a7fb70d4c9e334aeab78e8cb54151d7996 /rules.js | |
parent | 88dda4dc240e1de3f4ef2abba63a132f8f9bebda (diff) | |
download | 1989-dawn-of-freedom-54ddff6bd490408c7fb692d4aadbcd3715a2489b.tar.gz |
Fix Systematisation and Romania Control
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -226,6 +226,7 @@ const auto_resolve_events = [5, 8, 9, 13, 17, 25, 26, 30, 35, 50, 53, 54, 58, 59 const switch_events = [6, 20, 71] const one_turn_events = [ 8, 13, 25, 50, 63, 74, 49, 58, 59, 100, 101 ] const ceausecu_events = [10, 41, 69, 101, 107] +const romania_battlegrounds = [S_TIMISOARA, S_CLUJ_NAPOCA, S_IASI, S_BRASOV, S_BUCURESTI, S_GALATI] const card_name = cards.map(x => x ? clean_name(x.name) : "") const quoted_card_name = cards.map(x => x ? `\u201c` + clean_name(x.name) + `\u201d` : "") @@ -2908,6 +2909,11 @@ function battlegrounds(country) { battlegrounds = 4 } else if (country === 'Bulgaria') { battlegrounds = 5 + } else if (country === 'Romania') { + if (game.systematization && romania_battlegrounds.includes(game.systematization)) + battlegrounds = 5 + else + battlegrounds = 6 } else { battlegrounds = 6 } |