TooAngel / screeps

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

Consider the room with a tower not blocked if it was unclaimed by oneself #682

Closed TSStudio closed 1 year ago

TSStudio commented 1 year ago

The creeps shouldn't consider the room with tower blocked as long as its owner is oneself. This could be useful in following situation:

Room A | Room B | Room C

If you have room C as your base room, and you claimed room B, built a tower in room B.
And at some time you want room A, but you only get 2 GCL, then room B must be unclaimed.
If you forget to destroy the tower in room B, the bot will maybe never reach room A (without my changes, if no other routes)!

Then consider the tower's owner. Even if a room is not owned by the user, the tower could be harmless.

TooAngel commented 1 year ago

This pull request was merged by worlddriven.