mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 09:17:22 +08:00
Refactor: module/device, separate all screenshot method and control methods
- Better screenshot and control retries, handle common exceptions
This commit is contained in:
@@ -249,7 +249,7 @@ class RewardResearch(ResearchSelector):
|
||||
self.device.sleep(1.5)
|
||||
self.device.screenshot()
|
||||
record.add(self.device.image)
|
||||
self.device.swipe((0, 250), box=ITEMS_3_SWIPE.area, random_range=(-10, -10, 10, 10), padding=0)
|
||||
self.device.swipe_vector((0, 250), box=ITEMS_3_SWIPE.area, random_range=(-10, -10, 10, 10), padding=0)
|
||||
self.device.sleep(2)
|
||||
self.device.screenshot()
|
||||
record.add(self.device.image)
|
||||
|
||||
Reference in New Issue
Block a user