Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceReaperOverlord not optimized for center core rooms #152

Open
zGeneral opened this issue Jul 16, 2019 · 0 comments
Open

SourceReaperOverlord not optimized for center core rooms #152

zGeneral opened this issue Jul 16, 2019 · 0 comments

Comments

@zGeneral
Copy link
Contributor

zGeneral commented Jul 16, 2019

Issue summary

  1. Source Reapers are spawned in center SK rooms all the time (no need as there are no Lairs)
  2. 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)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant