mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Error caused by queue clean status flashback (#2841)
* Fix: Error caused by queue clean status flashback * Update gacha_reward.py
This commit is contained in:
parent
70987e1712
commit
4573e1a089
@ -197,15 +197,18 @@ class RewardGacha(GachaUI, GeneralShop, Retirement):
|
||||
confirm_mode = True # Drill, Lock Ship
|
||||
# Clear button offset, or will click at the PLUS button of gems or HOME button
|
||||
STORY_SKIP.clear_offset()
|
||||
queue_clean = True
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear(BUILD_QUEUE_EMPTY, offset=(20, 20)):
|
||||
if self.appear(BUILD_QUEUE_EMPTY, offset=(20, 20)) and queue_clean:
|
||||
self.gacha_side_navbar_ensure(upper=1)
|
||||
break
|
||||
else:
|
||||
queue_clean = False
|
||||
|
||||
if self.appear_then_click(BUILD_FINISH_ORDERS, interval=3):
|
||||
confirm_timer.reset()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user