Remove aggressive gaia soldiers on nomad random maps.
Differential Revision: https://code.wildfiregames.com/D1465 Reviewed By: (-_-) aka smiley This was SVN commit r21772.
This commit is contained in:
parent
e3bc85388f
commit
25099f2898
@ -414,7 +414,7 @@ g_Map.log("Placing resources, farmsteads, groves and camps");
|
||||
for (let i = 0; i < resourceSpots.length; ++i)
|
||||
{
|
||||
let pos = new Vector2D(resourceSpots[i].x, resourceSpots[i].y);
|
||||
let choice = i % 5;
|
||||
let choice = i % (isNomad() ? 4 : 5);
|
||||
if (choice == 0)
|
||||
placeMine(pos, "gaia/geology_stonemine_temperate_formation");
|
||||
if (choice == 1)
|
||||
|
@ -38,7 +38,9 @@ const oFarmstead = "structures/kush_farmstead";
|
||||
const oField = "structures/kush_field";
|
||||
const oPyramid = "structures/kush_pyramid_small";
|
||||
const oPyramidLarge = "structures/kush_pyramid_large";
|
||||
const oKushSoldiers = "units/kush_infantry_javelinist_merc_e";
|
||||
const oKushUnits = isNomad() ?
|
||||
"units/kush_support_female_citizen" :
|
||||
"units/kush_infantry_javelinist_merc_e";
|
||||
|
||||
const aRain = g_Decoratives.rain;
|
||||
const aBushA = g_Decoratives.bushA;
|
||||
@ -228,7 +230,7 @@ for (let coordinate of kushiteTownPositions)
|
||||
for (let building in kushVillageBuildings)
|
||||
g_Map.placeEntityPassable(kushVillageBuildings[building].template, 0, Vector2D.add(coordinate, kushVillageBuildings[building].offset), Math.PI);
|
||||
|
||||
createObjectGroup(new SimpleGroup([new SimpleObject(oKushSoldiers, 5, 7, 1, 2)], true, clKushiteVillages, coordinate), 0);
|
||||
createObjectGroup(new SimpleGroup([new SimpleObject(oKushUnits, 5, 7, 1, 2)], true, clKushiteVillages, coordinate), 0);
|
||||
}
|
||||
|
||||
g_Map.log("Creating kushite pyramids");
|
||||
|
@ -607,7 +607,7 @@ g_Map.log("Placing at most " + mercenaryCamps + " mercenary camps");
|
||||
for (let i = 0; i < resourceSpots.length; ++i)
|
||||
{
|
||||
let radius;
|
||||
let choice = i % 5;
|
||||
let choice = i % (isNomad() ? 4 : 5);
|
||||
if (choice == 0)
|
||||
placeMine(resourceSpots[i], g_Gaia.stoneLarge);
|
||||
if (choice == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user