mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 19:29:18 +08:00
Opt: Dispatch sequence screen transitions alterations for
stabilized behavior
This commit is contained in:
@@ -181,7 +181,7 @@ class GuildOperations(GuildBase):
|
|||||||
else:
|
else:
|
||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
if self.appear_then_click(GUILD_DISPATCH_QUICK, interval=5):
|
if self.appear_then_click(GUILD_DISPATCH_QUICK, offset=(20, 20), interval=5):
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
close_timer.reset()
|
close_timer.reset()
|
||||||
continue
|
continue
|
||||||
@@ -206,7 +206,6 @@ class GuildOperations(GuildBase):
|
|||||||
add_timer.reset()
|
add_timer.reset()
|
||||||
close_timer.reset()
|
close_timer.reset()
|
||||||
continue
|
continue
|
||||||
add_timer.reset()
|
|
||||||
|
|
||||||
if self.handle_popup_confirm('GUILD_DISPATCH'):
|
if self.handle_popup_confirm('GUILD_DISPATCH'):
|
||||||
# Explicit click since GUILD_DISPATCH_FLEET
|
# Explicit click since GUILD_DISPATCH_FLEET
|
||||||
@@ -224,8 +223,8 @@ class GuildOperations(GuildBase):
|
|||||||
# dispatched, don't want to exit prematurely
|
# dispatched, don't want to exit prematurely
|
||||||
if close_timer.reached_and_reset():
|
if close_timer.reached_and_reset():
|
||||||
self.device.click(GUILD_DISPATCH_CLOSE)
|
self.device.click(GUILD_DISPATCH_CLOSE)
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.appear(GUILD_OPERATIONS_ACTIVE_CHECK):
|
if self.appear(GUILD_OPERATIONS_ACTIVE_CHECK):
|
||||||
@@ -233,7 +232,6 @@ class GuildOperations(GuildBase):
|
|||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
close_timer.reset()
|
|
||||||
|
|
||||||
def _guild_operations_scan(self, skip_first_screenshot=True):
|
def _guild_operations_scan(self, skip_first_screenshot=True):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user