Increase updater count
This commit is contained in:
parent
92b5249df4
commit
a073110143
@ -43,7 +43,7 @@ export const loop = ErrorMapper.wrapLoop(() => {
|
|||||||
console.log('Harvester Err', err);
|
console.log('Harvester Err', err);
|
||||||
}
|
}
|
||||||
|
|
||||||
const UPGRADER_CREEP_COUNT = 2;
|
const UPGRADER_CREEP_COUNT = 3;
|
||||||
const upgraderCreeps = Object.values(Game.creeps).filter((c) => c.memory.role === ROLE_UPGRADER);
|
const upgraderCreeps = Object.values(Game.creeps).filter((c) => c.memory.role === ROLE_UPGRADER);
|
||||||
if (upgraderCreeps.length < UPGRADER_CREEP_COUNT) {
|
if (upgraderCreeps.length < UPGRADER_CREEP_COUNT) {
|
||||||
const firstSpawn = _.first(Object.values(Game.spawns));
|
const firstSpawn = _.first(Object.values(Game.spawns));
|
||||||
|
Loading…
Reference in New Issue
Block a user