Fix previous commit because of course there was test code in there. Make Aegis build more farms because of recent changes.

This was SVN commit r13426.
This commit is contained in:
wraitii
2013-05-25 16:24:05 +00:00
parent f372f9184c
commit 2c52099ddd
2 changed files with 1 additions and 3 deletions
@@ -708,8 +708,6 @@ CityAttack.prototype.StartAttack = function(gameState, militaryManager){
this.unitCollectionNoWarship = this.unitCollection.filter(Filters.not(Filters.byClass("Warship")));
this.unitCollectionNoWarship.registerUpdates();
if (this.path[0][0])
return false;
this.unitCollection.moveIndiv(this.path[0][0][0], this.path[0][0][1]);
this.unitCollection.setStance("aggressive");
this.unitCollection.filter(Filters.byClass("Siege")).setStance("defensive");
@@ -128,7 +128,7 @@ EconomyManager.prototype.trainMoreWorkers = function(gameState, queues) {
var numTotal = numWorkers + numQueued;
if (gameState.currentPhase() > 1 || gameState.isResearching("phase_town"))
this.targetNumFields = numWorkers/25;
this.targetNumFields = numWorkers/10.0; // 5 workers per field max.
else
this.targetNumFields = 1;