diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-09 14:18:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-09 14:18:23 +0200 |
commit | 2a8eba95d94651b130cdf6d922514f189309c121 (patch) | |
tree | c9c853285fc8e77ae31643939367f29d480c441c /rules.js | |
parent | e551a58b7fe81ffc551340ade778e79da3650a88 (diff) | |
download | time-of-crisis-2a8eba95d94651b130cdf6d922514f189309c121.tar.gz |
Forced March only once with militia.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3369,7 +3369,7 @@ function can_play_force_march() { return true } for (let i = 0; i < 12; ++i) { - if (has_lone_militia(i) && has_militia_battled(i) && is_own_province(i)) + if (has_lone_militia(i) && has_militia_battled(i) && !has_militia_force_marched(i) && is_own_province(i)) return true } } @@ -3391,7 +3391,7 @@ states.force_march_who = { gen_action_general(id) } for (let i = 0; i < 12; ++i) { - if (has_lone_militia(i) && has_militia_battled(i) && is_own_province(i)) + if (has_lone_militia(i) && has_militia_battled(i) && !has_militia_force_marched(i) && is_own_province(i)) gen_action_militia(i) } }, |