summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js12
1 files 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)