SourceReaperOverlord not optimized for center core rooms
zGeneral opened this issue · 0 comments
zGeneral commented
Issue summary
- Source Reapers are spawned in center SK rooms all the time (no need as there are no Lairs)
- Source Reapers and defenders stuck in goTo(this.pos) state.
Description of issue:
Code 1:
this.wishlist(1, CombatSetups.zerglings.sourceKeeper);
Code 2:
// the below applies to reapers and defenders
if (!this.targetLair || !this.room || reaper.room != this.room || reaper.pos.isEdge) {
// log.debugCreep(reaper, Going to room!);
reaper.healSelfIfPossible();
reaper.goTo(this.pos);
return;
}
//in the above, !this.targetLair will always return true as there are no LairStructures in center core rooms
Steps to reproduce:
Error message:
// Console output:
// Offending line:
Suggested fix (optional):
Other information:
- Overmind version: {found in package.json or by typing
info()into console}- Commit hash: {optional, but helpful: include the commit hash (if known)}