mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Fix: Enlarge search area of rewards
since they are now floating
This commit is contained in:
@@ -40,15 +40,15 @@ class Reward(UI):
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if oil and click_timer.reached() and self.appear_then_click(OIL, interval=60):
|
||||
if oil and click_timer.reached() and self.appear_then_click(OIL, offset=(20, 50), interval=60):
|
||||
confirm_timer.reset()
|
||||
click_timer.reset()
|
||||
continue
|
||||
if coin and click_timer.reached() and self.appear_then_click(COIN, interval=60):
|
||||
if coin and click_timer.reached() and self.appear_then_click(COIN, offset=(20, 50), interval=60):
|
||||
confirm_timer.reset()
|
||||
click_timer.reset()
|
||||
continue
|
||||
if exp and click_timer.reached() and self.appear_then_click(EXP, interval=60):
|
||||
if exp and click_timer.reached() and self.appear_then_click(EXP, offset=(20, 50), interval=60):
|
||||
confirm_timer.reset()
|
||||
click_timer.reset()
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user