Skip to content

Comments

* replacing MoveToMap hardcoded min time config for chasing pokemon w…#4013

Closed
mvrska wants to merge 1 commit intoPokemonGoF:devfrom
mvrska:dev
Closed

* replacing MoveToMap hardcoded min time config for chasing pokemon w…#4013
mvrska wants to merge 1 commit intoPokemonGoF:devfrom
mvrska:dev

Conversation

@mvrska
Copy link
Contributor

@mvrska mvrska commented Aug 15, 2016

Short Description:

  • replacing MoveToMap hardcoded min time config for chasing pokemon with more sophisticated decision whether the destination is reachable with current walk speed in time

…ith more sophisticated decision whether the destination is reachable with current walk speed in time
@mention-bot
Copy link

@Raiven66, thanks for your PR! By analyzing the annotation information on this pull request, we identified @mhdasding, @chrisle and @bixuanzju to be potential reviewers

continue

# pokemon not reachable with current walking speed
if pokemon['dist'] > ((pokemon['expire'] - now) * self.bot.config.walk):
Copy link

Choose a reason for hiding this comment

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

config.walk changed to walk_max, walk_min in the latest merged PR #3943

@mvrska mvrska closed this Aug 15, 2016
@mvrska
Copy link
Contributor Author

mvrska commented Aug 15, 2016

thanks will check and debug

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.

3 participants