mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Bug loading recommend too slow, exit without dispatching.
Reduce interval from 5 to 3
This commit is contained in:
parent
d0bf92051b
commit
e7f0ee0183
@ -181,15 +181,7 @@ class GuildOperations(GuildBase):
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear_then_click(GUILD_DISPATCH_QUICK, offset=(20, 20), interval=5):
|
||||
confirm_timer.reset()
|
||||
close_timer.reset()
|
||||
continue
|
||||
|
||||
if self.appear(GUILD_DISPATCH_EMPTY, interval=5):
|
||||
self.device.click(GUILD_DISPATCH_RECOMMEND)
|
||||
self.device.sleep((0.5, 0.8))
|
||||
self.device.click(GUILD_DISPATCH_FLEET)
|
||||
if self.appear_then_click(GUILD_DISPATCH_QUICK, offset=(20, 20), interval=3):
|
||||
confirm_timer.reset()
|
||||
close_timer.reset()
|
||||
continue
|
||||
@ -207,6 +199,17 @@ class GuildOperations(GuildBase):
|
||||
close_timer.reset()
|
||||
continue
|
||||
|
||||
if self.appear(GUILD_DISPATCH_EMPTY, interval=3):
|
||||
self.device.click(GUILD_DISPATCH_RECOMMEND)
|
||||
confirm_timer.reset()
|
||||
close_timer.reset()
|
||||
continue
|
||||
|
||||
if self.appear_then_click(GUILD_DISPATCH_FLEET, offset=(20, 20), interval=3):
|
||||
confirm_timer.reset()
|
||||
close_timer.reset()
|
||||
continue
|
||||
|
||||
if self.handle_popup_confirm('GUILD_DISPATCH'):
|
||||
# Explicit click since GUILD_DISPATCH_FLEET
|
||||
# does not automatically turn into
|
||||
|
||||
Loading…
Reference in New Issue
Block a user