From 54ddff6bd490408c7fb692d4aadbcd3715a2489b Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sun, 9 Feb 2025 14:59:54 +0000 Subject: Fix Systematisation and Romania Control --- rules.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rules.js') diff --git a/rules.js b/rules.js index e8e462d..592d987 100644 --- a/rules.js +++ b/rules.js @@ -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 } -- cgit v1.2.3