0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-07 09:25:34 +00:00

fix 2560x1440 scrolling

This commit is contained in:
firedcto@gmail.com 2024-07-10 11:44:39 +08:00
parent 8f246ec9a1
commit 7d50a5b63e

View File

@ -105,9 +105,9 @@ class FarmWorldBossTask(BaseCombatTask):
return True return True
def scroll_down_a_page(self): def scroll_down_a_page(self):
source_box = self.box_of_screen(0.38, 0.78, 0.42, 0.85) source_box = self.box_of_screen(0.38, 0.78, 0.42, 0.80)
source_template = Feature(source_box.crop_frame(self.frame), source_box.x, source_box.y) source_template = Feature(source_box.crop_frame(self.frame), source_box.x, source_box.y)
target_box = self.box_of_screen(0.38, 0.18, 0.42, 0.31) target_box = self.box_of_screen(0.38, 0.16, 0.42, 0.33)
start = time.time() start = time.time()
# count = 0 # count = 0
while True: while True: