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
df8bed3694
commit
53235f5901
@ -81,8 +81,9 @@ class FiveToOneTask(BaseCombatTask):
|
||||
self.log_info(f'increase cost filter {cost}')
|
||||
self.click_relative(0.04, 0.91)
|
||||
self.sleep(1)
|
||||
boxes = self.ocr(0.11, 0.45, 0.90, 0.88, target_height=720, log=True)
|
||||
boxes = self.ocr(0.11, 0.31, 0.90, 0.88, target_height=720, log=True)
|
||||
self.click(find_boxes_by_name(boxes, names='重置'), after_sleep=1)
|
||||
self.click(find_boxes_by_name(boxes, names='五星'), after_sleep=1)
|
||||
self.click(find_boxes_by_name(boxes, names=re.compile(f'ost{cost}')), after_sleep=1)
|
||||
self.click(find_boxes_by_name(boxes, names='确定'), after_sleep=1)
|
||||
self.click_empty_area()
|
||||
|
Loading…
x
Reference in New Issue
Block a user