mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: Close auto search menu and retreat at campaign start to reduce user mistakes
This commit is contained in:
@@ -250,13 +250,16 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
|
||||
self.map_clear_percentage_timer.reset()
|
||||
return False
|
||||
|
||||
def withdraw(self):
|
||||
def withdraw(self, skip_first_screenshot=True):
|
||||
"""
|
||||
Withdraw campaign.
|
||||
"""
|
||||
logger.hr('Map withdraw')
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.handle_popup_confirm('WITHDRAW'):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user