mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-05 08:25:28 +00:00
优化弃置声骸 滚动
This commit is contained in:
parent
3d80b8792e
commit
96d66b1118
@ -142,9 +142,9 @@ class DiscardEchoTask(BaseCombatTask):
|
|||||||
steps = 0.08
|
steps = 0.08
|
||||||
target_box = set_icon.copy(y_offset=-self.height_of_screen(steps), height_offset=self.height_of_screen(steps))
|
target_box = set_icon.copy(y_offset=-self.height_of_screen(steps), height_offset=self.height_of_screen(steps))
|
||||||
while True:
|
while True:
|
||||||
self.click_relative(0.7, 0.5)
|
self.click_relative(0.5, 0.5)
|
||||||
self.sleep(0.05)
|
self.sleep(0.05)
|
||||||
self.scroll_relative(0.7, 0.5, -2)
|
self.scroll_relative(0.5, 0.5, -2)
|
||||||
self.sleep(0.2)
|
self.sleep(0.2)
|
||||||
target = self.find_one('target_box', box=target_box, template=source_template, threshold=0.9)
|
target = self.find_one('target_box', box=target_box, template=source_template, threshold=0.9)
|
||||||
if not target:
|
if not target:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user