mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Double clicked MAP_PREPARATION_CANCEL
This commit is contained in:
parent
38c694ad3b
commit
34437c1dcc
@ -229,13 +229,17 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear(MAP_PREPARATION, offset=(20, 20)) or self.appear(FLEET_PREPARATION, offset=(20, 20)):
|
||||
self.device.click(MAP_PREPARATION_CANCEL)
|
||||
continue
|
||||
|
||||
# End
|
||||
if self.is_in_stage():
|
||||
break
|
||||
|
||||
if self.appear(MAP_PREPARATION, offset=(20, 20), interval=2):
|
||||
self.device.click(MAP_PREPARATION_CANCEL)
|
||||
continue
|
||||
if self.appear(FLEET_PREPARATION, offset=(20, 20), interval=2):
|
||||
self.device.click(MAP_PREPARATION_CANCEL)
|
||||
continue
|
||||
|
||||
return True
|
||||
|
||||
def handle_map_preparation(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user