petra: small tweak for civs without field

This was SVN commit r21773.
This commit is contained in:
mimo 2018-04-23 20:30:22 +00:00
parent 25099f2898
commit 0933f24891
2 changed files with 2 additions and 2 deletions

View file

@ -410,7 +410,7 @@ m.BaseManager.prototype.checkResourceLevels = function(gameState, queues)
!queues.corral.hasQueuedUnits() && gameState.ai.HQ.canBuild(gameState, "structures/{civ}_corral"))
{
let count = this.getResourceLevel(gameState, type, gameState.currentPhase() > 1); // animals are not accounted
if (count < 600)
if (count < 900)
{
queues.corral.addPlan(new m.ConstructionPlan(gameState, "structures/{civ}_corral", { "favoredBase": this.ID }));
gameState.ai.HQ.needCorral = true;

View file

@ -81,7 +81,7 @@ m.Config = function(difficulty, behavior)
"dropsites": 200,
"field": 400,
"dock": 90,
"corral": 60,
"corral": 100,
"economicBuilding": 90,
"militaryBuilding": 130,
"defenseBuilding": 70,