1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-27 03:48:21 +08:00

Opt: Longer wait on stage bonus drops, still a poor implementation

This commit is contained in:
LmeSzinc
2021-10-25 17:49:49 +08:00
parent 10fc4a7ba8
commit 3249190d61

View File

@@ -197,9 +197,11 @@ class AutoSearchHandler(EnemySearchingHandler):
bool bool
""" """
if self.appear(AUTO_SEARCH_MENU_EXIT, offset=self._auto_search_menu_offset, interval=2): if self.appear(AUTO_SEARCH_MENU_EXIT, offset=self._auto_search_menu_offset, interval=2):
# Poor implementation here
if drop: if drop:
drop.handle_add(main=self, before=2.5) drop.handle_add(main=self, before=4)
self.device.click(AUTO_SEARCH_MENU_EXIT) self.device.click(AUTO_SEARCH_MENU_EXIT)
self.device.sleep(0.5)
return True return True
else: else:
return False return False