From 269d1140eec9d22dee5387681413e920409f6b71 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 25 Jun 2024 17:22:56 +0200 Subject: don't allow prussia to caputre in war in the west --- rules.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/rules.js b/rules.js index 808d4de..1a97393 100644 --- a/rules.js +++ b/rules.js @@ -426,10 +426,16 @@ make_protect(P_HANOVER, data.country.Hanover) make_protect(P_AUSTRIA, data.country.Austria) function is_conquest_space(pow, s) { - if (pow === P_PRUSSIA && game.scenario >= 3) { - if (is_offensive_option_active() || game.turn < 3) + if (pow === P_PRUSSIA) { + if (game.scenario === 1) + return false + if (game.scenario === 2) return set_has(primary_objective[pow], s) - return false + if (game.scenario >= 3) { + if (is_offensive_option_active() || game.turn < 3) + return set_has(primary_objective[pow], s) + return false + } } if (has_eased_victory(pow)) return set_has(primary_objective[pow], s) -- cgit v1.2.3