summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-12-01 18:22:00 +0100
committerTor Andersson <tor@ccxvii.net>2024-12-01 18:22:00 +0100
commit8fcb1c3e4f093946f46e35f05e94979acdc1698a (patch)
treeab3e93a81a3029c4840c1c9c12bfb0326491d055 /rules.js
parent496d5451fc34d5eb92ff331a7d09e8573dd198d6 (diff)
downloadmaria-8fcb1c3e4f093946f46e35f05e94979acdc1698a.tar.gz
Recruit French generals in Munich in intro scenario.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 50486c5..cac0bed 100644
--- a/rules.js
+++ b/rules.js
@@ -3500,6 +3500,8 @@ function goto_recruit() {
}
function all_re_entry_cities_for_general(p) {
+ if (is_intro() && piece_power[p] === P_FRANCE)
+ return all_home_country_major_fortresses[P_BAVARIA]
if (p === ARENBERG)
return all_arenberg_major_fortresses
return all_home_country_major_fortresses[game.power]
@@ -3513,6 +3515,8 @@ function has_re_entry_space_for_general(p) {
}
function can_re_enter_general_at_city(to) {
+ if (is_intro() && is_flanders_space(to))
+ return false
if (is_enemy_controlled_fortress(to))
return false
if (has_friendly_supply_train(to))