mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
petra: small tweak for civs without field
This was SVN commit r21773.
This commit is contained in:
parent
25099f2898
commit
0933f24891
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue