mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-05 08:25:28 +00:00
commit
bf7cdf7973
@ -78,8 +78,8 @@ class BaseCombatTask(BaseWWTask, FindFeature, OCR, CombatCheck):
|
|||||||
self.sleep(0.2)
|
self.sleep(0.2)
|
||||||
|
|
||||||
def run_in_circle_to_find_echo(self, circle_count=3):
|
def run_in_circle_to_find_echo(self, circle_count=3):
|
||||||
directions = ['w', 'a', 's', 'd']
|
directions = ['w', 'w', 'w', 'w']
|
||||||
step = 1.2
|
step = 0.8
|
||||||
duration = 0.8
|
duration = 0.8
|
||||||
total_index = 0
|
total_index = 0
|
||||||
for count in range(circle_count):
|
for count in range(circle_count):
|
||||||
@ -92,6 +92,15 @@ class BaseCombatTask(BaseWWTask, FindFeature, OCR, CombatCheck):
|
|||||||
if picked:
|
if picked:
|
||||||
self.mouse_up(key="right")
|
self.mouse_up(key="right")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
self.sleep(0.1)
|
||||||
|
self.send_key_down('a')
|
||||||
|
self.sleep(0.01)
|
||||||
|
self.send_key_up('a')
|
||||||
|
self.sleep(0.1)
|
||||||
|
self.middle_click()
|
||||||
|
self.sleep(1)
|
||||||
|
|
||||||
total_index += 1
|
total_index += 1
|
||||||
|
|
||||||
def switch_next_char(self, current_char, post_action=None, free_intro=False, target_low_con=False):
|
def switch_next_char(self, current_char, post_action=None, free_intro=False, target_low_con=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user