mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Fix: Move AUTO_SEARCH_OS_MAP_OPTION click to the bottom
This commit is contained in:
@@ -163,10 +163,6 @@ class MapEventHandler(EnemySearchingHandler):
|
||||
Returns:
|
||||
bool: If clicked.
|
||||
"""
|
||||
if self.appear(AUTO_SEARCH_OS_MAP_OPTION_OFF, offset=(5, 50), interval=3) \
|
||||
and AUTO_SEARCH_OS_MAP_OPTION_OFF.match_appear_on(self.device.image):
|
||||
self.device.click(AUTO_SEARCH_OS_MAP_OPTION_OFF)
|
||||
return True
|
||||
if self.appear(AUTO_SEARCH_OS_MAP_OPTION_OFF, offset=(5, 50)) \
|
||||
and AUTO_SEARCH_OS_MAP_OPTION_OFF.match_appear_on(self.device.image) \
|
||||
and self.info_bar_count() >= 2:
|
||||
@@ -174,3 +170,7 @@ class MapEventHandler(EnemySearchingHandler):
|
||||
if self.appear(AUTO_SEARCH_REWARD, offset=(20, 50)):
|
||||
self.os_auto_search_quit()
|
||||
raise CampaignEnd
|
||||
if self.appear(AUTO_SEARCH_OS_MAP_OPTION_OFF, offset=(5, 50), interval=3) \
|
||||
and AUTO_SEARCH_OS_MAP_OPTION_OFF.match_appear_on(self.device.image):
|
||||
self.device.click(AUTO_SEARCH_OS_MAP_OPTION_OFF)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user