mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Expand search area of MISSION_MULTI and MISSION_SINGLE
This commit is contained in:
parent
1f62f2c81b
commit
1159263550
@ -103,7 +103,7 @@ class Reward(UI):
|
||||
for button in [MISSION_MULTI, MISSION_SINGLE]:
|
||||
if not click_timer.reached():
|
||||
continue
|
||||
if self.appear(button, offset=(0, 200), interval=interval) \
|
||||
if self.appear(button, offset=(20, 200), interval=interval) \
|
||||
and button.match_appear_on(self.device.image):
|
||||
self.device.click(button)
|
||||
exit_timer.reset()
|
||||
@ -160,8 +160,8 @@ class Reward(UI):
|
||||
"""
|
||||
self.reward_side_navbar_ensure(upper=1)
|
||||
|
||||
if not self.appear(MISSION_MULTI) and \
|
||||
not self.appear(MISSION_SINGLE):
|
||||
if not self.appear(MISSION_MULTI, offset=(20, 200)) and \
|
||||
not self.appear(MISSION_SINGLE, offset=(20, 200)):
|
||||
logger.info('No MISSION_MULTI or MISSION_SINGLE')
|
||||
return False
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user