mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Fix: potato pc slow loading of feed material; add confirm_timer
This commit is contained in:
@@ -161,6 +161,7 @@ class MeowfficerEnhance(MeowfficerBase):
|
||||
MEOWFFICER_FEED_ENTER if failed
|
||||
"""
|
||||
click_count = 0
|
||||
confirm_timer = Timer(3, count=6).start()
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
@@ -173,7 +174,8 @@ class MeowfficerEnhance(MeowfficerBase):
|
||||
|
||||
# End
|
||||
if self.appear(MEOWFFICER_FEED_CONFIRM, offset=(20, 20)):
|
||||
return True
|
||||
if confirm_timer.reached():
|
||||
return True
|
||||
if click_count >= 3:
|
||||
logger.warning('Unable to enter meowfficer feed, '
|
||||
'probably because the meowfficer to enhance has reached LV.30')
|
||||
|
||||
Reference in New Issue
Block a user