TooAngel / screeps

TooAngel NPC / bot / source code for screeps
https://screeps.com
GNU Affero General Public License v3.0
602 stars 155 forks source link

Fixed siege squad, removed some useless log #609

Closed Gicminos closed 3 years ago

Gicminos commented 3 years ago

Fixes https://github.com/TooAngel/screeps/issues/542

Gicminos commented 3 years ago

As said, I was getting the same problem happening in https://github.com/TooAngel/screeps/issues/542 and I managed to solve it.

At the same time I had one more problem with https://github.com/TooAngel/screeps/blob/0bb9f632ce27c0bc27c22d2901226238906b9e30/src/prototype_creep_fight.js#L201 where the siege minion was not able to find the rampant (old function returning empty result even if the room had towers and spawn). And with the correction in that file I fixed that too.

worlddrivenbot commented 3 years ago

Thank you for the review. This pull request will be automatically merged by worlddriven in 9 days, votes 0/658.

        Check the `worlddriven` status checks or the [dashboard](https://www.worlddriven.org/TooAngel/screeps/pull/609) for actual stats.
TooAngel commented 3 years ago

This pull request was merged by worlddriven.