Skip to content

Commit

Permalink
increase time searching jue
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 5, 2024
1 parent 9de8441 commit 9f75f15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/task/FarmEchoTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def run(self):
logger.info(f'farm echo combat end')
self.wait_in_team_and_world(time_out=20)
logger.info(f'farm echo move forward walk_until_f to find echo')
if self.walk_until_f(time_out=3, raise_if_not_found=False): # find and pick echo
if self.walk_until_f(time_out=3 if self.config.get('Entrance Direction') == 'Forward' else 6,
raise_if_not_found=False): # find and pick echo
logger.debug(f'farm echo found echo move forward walk_until_f to find echo')
self.incr_drop(True)
elif not self.last_drop: # only search for the guaranteed drop
Expand Down

0 comments on commit 9f75f15

Please sign in to comment.