mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-26 11:37:54 +08:00
Fix: bump up offset MEOWFFICER_STATUS, game bug can sometimes screenshot poorly
This commit is contained in:
@@ -106,7 +106,7 @@ class RewardMeowfficer(UI):
|
|||||||
out: MEOWFFICER_TRAIN
|
out: MEOWFFICER_TRAIN
|
||||||
"""
|
"""
|
||||||
# Used to account for the cat box opening animation
|
# Used to account for the cat box opening animation
|
||||||
self.wait_until_appear(MEOWFFICER_STATUS)
|
self.wait_until_appear(MEOWFFICER_STATUS, offset=(40, 40))
|
||||||
|
|
||||||
# Loop through possible screen transitions
|
# Loop through possible screen transitions
|
||||||
confirm_timer = Timer(1.5, count=3).start()
|
confirm_timer = Timer(1.5, count=3).start()
|
||||||
@@ -116,7 +116,7 @@ class RewardMeowfficer(UI):
|
|||||||
else:
|
else:
|
||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
if self.appear(MEOWFFICER_STATUS, offset=(20, 20), interval=1):
|
if self.appear(MEOWFFICER_STATUS, offset=(40, 40), interval=1):
|
||||||
self.device.multi_click(MEOWFFICER_TRAIN_CLICK_SAFE_AREA, 2)
|
self.device.multi_click(MEOWFFICER_TRAIN_CLICK_SAFE_AREA, 2)
|
||||||
confirm_timer.reset()
|
confirm_timer.reset()
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user