We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
My plan is to use the builders for repairs Example :
var targets = creep.room.find(FIND_STRUCTURES, { filter: object => object.hits < object.hitsMax });
targets.sort((a,b) => a.hits - b.hits); if(targets.length > 0) { if(creep.repair(targets[0]) == ERR_NOT_IN_RANGE) { creep.moveTo(targets[0]); } }
There was an error while loading. Please reload this page.