diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-04 12:28:28 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-04 12:28:28 +0200 |
commit | 2a05884a3f33ff280c341a71ecd0061c41a27455 (patch) | |
tree | 5840b026d361bb0991da4d5900fc6368d6f4071e | |
parent | f2fd5b3a8050f4c21f8f8185469f3e4cbdfbe975 (diff) | |
download | algeria-2a05884a3f33ff280c341a71ecd0061c41a27455.tar.gz |
fix rule bug where only 6 Algerian X counters are provided
-rw-r--r-- | rules.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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)) |