1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-23 01:43:43 +08:00

Fix: Reduce time getting a meowfficer by multi-click

Fix: Fill queue sometimes too fast, wait additional fractional second before proceeding
This commit is contained in:
nEEtdo0d
2020-12-24 21:23:27 -05:00
parent a7aa4299f6
commit bcf7557ef1
3 changed files with 4 additions and 1 deletions

View File

@@ -115,7 +115,8 @@ class RewardMeowfficer(UI):
else:
self.device.screenshot()
if self.appear_then_click(MEOWFFICER_STATUS, interval=5):
if self.appear(MEOWFFICER_STATUS, interval=1):
self.device.multi_click(MEOWFFICER_TRAIN_CLICK_SAFE_AREA, 2)
confirm_timer.reset()
continue
if self.handle_meow_popup_confirm():
@@ -152,6 +153,7 @@ class RewardMeowfficer(UI):
confirm_timer.reset()
continue
if self.appear_then_click(MEOWFFICER_TRAIN_FILL_QUEUE, offset=(20, 20), interval=5):
self.device.sleep(0.3)
self.device.click(MEOWFFICER_TRAIN_START)
confirm_timer.reset()
continue