mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-05 08:25:28 +00:00
Update BaseWWTask.py
This commit is contained in:
parent
802978e569
commit
a22c2c8ef6
@ -192,8 +192,8 @@ class BaseWWTask(BaseTask, FindFeature, OCR):
|
||||
box = self.box_of_screen(0.25, 0.20, 0.75, 0.53, hcenter=True)
|
||||
highest_percent = 0
|
||||
highest_index = 0
|
||||
threshold = 0.02
|
||||
for i in range(4):
|
||||
threshold = 0.02
|
||||
for i in range(4):
|
||||
self.middle_click_relative(0.5, 0.5, down_time=0.2)
|
||||
self.sleep(1)
|
||||
color_percent = self.calculate_color_percentage(echo_color, box)
|
||||
|
Loading…
x
Reference in New Issue
Block a user