mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 23:03:33 +08:00
Fix: inverse condition can exit prematurely without reward collect; change to image_color_count
Fix: expected_end default bool on return
This commit is contained in:
@@ -82,9 +82,8 @@ class MetaReward(Combat, UI):
|
||||
continue
|
||||
|
||||
# End
|
||||
if self.appear(REWARD_CHECK, offset=(20, 20)) and not (
|
||||
self.appear(REWARD_RECEIVE, offset=(20, 20)) and REWARD_RECEIVE.match_appear_on(self.device.image)
|
||||
):
|
||||
if self.appear(REWARD_CHECK, offset=(20, 20)) and \
|
||||
self.image_color_count(REWARD_RECEIVE, color=(49, 52, 49), threshold=221, count=400):
|
||||
if confirm_timer.reached():
|
||||
break
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user