mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: GET_SHIP should ruled by click_timer in commission_receive
This commit is contained in:
parent
0abb1fdff7
commit
c893762a39
@ -553,11 +553,12 @@ class RewardCommission(UI, InfoHandler):
|
|||||||
continue
|
continue
|
||||||
if self.ui_main_appear_then_click(page_reward, interval=3):
|
if self.ui_main_appear_then_click(page_reward, interval=3):
|
||||||
self.interval_reset(GET_SHIP)
|
self.interval_reset(GET_SHIP)
|
||||||
click_timer.reset()
|
# no need to reset click_timer, just instant click REWARD_1
|
||||||
|
# click_timer.reset()
|
||||||
continue
|
continue
|
||||||
# Check GET_SHIP at last to handle random white background at page_main
|
# Check GET_SHIP at last to handle random white background at page_main
|
||||||
for button in [GET_SHIP]:
|
for button in [GET_SHIP]:
|
||||||
if self.appear(button, interval=1):
|
if click_timer.reached() and self.appear(button, interval=1):
|
||||||
self.ensure_no_info_bar(timeout=1)
|
self.ensure_no_info_bar(timeout=1)
|
||||||
drop.add(self.device.image)
|
drop.add(self.device.image)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user