mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:23:47 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user