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

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

Merged
merged 1 commit into from
Feb 25, 2023

Conversation

TSStudio
Copy link
Contributor

@TSStudio TSStudio commented Nov 5, 2022

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.

Copy link
Owner

@TooAngel TooAngel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Would be cool if you could rebase or merge the master branch, so that this can be merged. 👍

@TooAngel TooAngel merged commit 661a63b into TooAngel:master Feb 25, 2023
@TooAngel
Copy link
Owner

This pull request was merged by worlddriven.

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

Successfully merging this pull request may close these issues.

None yet

2 participants