summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-04 12:28:28 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-04 12:28:28 +0200
commit2a05884a3f33ff280c341a71ecd0061c41a27455 (patch)
tree5840b026d361bb0991da4d5900fc6368d6f4071e
parentf2fd5b3a8050f4c21f8f8185469f3e4cbdfbe975 (diff)
downloadalgeria-2a05884a3f33ff280c341a71ecd0061c41a27455.tar.gz
fix rule bug where only 6 Algerian X counters are provided
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index bba0d72..97b275b 100644
--- a/rules.js
+++ b/rules.js
@@ -827,9 +827,10 @@ const SCENARIO_DEPLOYMENT = {
"Morocco": [BAND, BAND, BAND, BAND],
"Tunisia": [BAND, BAND, BAND, BAND, FAILEK, FAILEK, FAILEK]
},
+ // XXX RULE only 6 Algerian X counters provided, scenario requires 7.
gov: {
"I": [FR_XX, FR_XX, AL_X],
- "II": [FR_XX, FR_XX, EL_X, EL_X, EL_X, EL_X, AL_X, AL_X, POL, POL],
+ "II": [FR_XX, FR_XX, EL_X, EL_X, EL_X, EL_X, AL_X, /*AL_X,*/ POL, POL],
"III": [FR_XX, FR_XX, FR_X, AL_X],
"IV": [FR_XX, FR_XX, EL_X, EL_X, EL_X, AL_X, AL_X, POL, POL],
"V": [FR_XX, FR_XX, FR_XX, FR_XX, FR_XX, AL_X, POL, POL]
@@ -1773,7 +1774,7 @@ states.fln_deployment = {
gen_action_loc(first_unit_loc)
} else if (is_area_france(first_unit_loc)) {
// The Cadre unit in France may be deployed to any Area where there is a Front unit.
- // XXX CHEAT this allows free movement when deploying to France and then again in the same turn elsewhere
+ // XXX RULE this allows free movement when deploying to France and then again in the same turn elsewhere
let has_front = false
for_each_friendly_unit_on_map_of_type(FRONT, u => {
gen_action_loc(unit_loc(u))