mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-06 17:05:54 +00:00
维里奈改成不打重击
修复可能一直卡在战斗状态
This commit is contained in:
parent
bc783b6693
commit
611bd4a30a
@ -279,7 +279,6 @@ class BaseChar:
|
|||||||
if con_less_than > 0:
|
if con_less_than > 0:
|
||||||
if self.get_current_con() > con_less_than:
|
if self.get_current_con() > con_less_than:
|
||||||
return False
|
return False
|
||||||
self.task.in_liberation = True
|
|
||||||
self.logger.debug(f'click_liberation start')
|
self.logger.debug(f'click_liberation start')
|
||||||
start = time.time()
|
start = time.time()
|
||||||
last_click = 0
|
last_click = 0
|
||||||
@ -296,7 +295,7 @@ class BaseChar:
|
|||||||
self.task.raise_not_in_combat('too long clicking a liberation')
|
self.task.raise_not_in_combat('too long clicking a liberation')
|
||||||
self.task.next_frame()
|
self.task.next_frame()
|
||||||
if clicked:
|
if clicked:
|
||||||
if self.task.wait_until(lambda: not self.task.in_team()[0], time_out=0.6):
|
if self.task.wait_until(lambda: not self.task.in_team()[0], time_out=0.4):
|
||||||
self.task.in_liberation = True
|
self.task.in_liberation = True
|
||||||
self.logger.debug(f'not in_team successfully casted liberation')
|
self.logger.debug(f'not in_team successfully casted liberation')
|
||||||
else:
|
else:
|
||||||
|
@ -6,12 +6,13 @@ class Verina(BaseChar):
|
|||||||
def do_perform(self):
|
def do_perform(self):
|
||||||
self.click_liberation()
|
self.click_liberation()
|
||||||
if self.flying():
|
if self.flying():
|
||||||
|
self.normal_attack()
|
||||||
return self.switch_next_char()
|
return self.switch_next_char()
|
||||||
if self.click_resonance(send_click=False)[0]:
|
if self.click_resonance(send_click=False)[0]:
|
||||||
return self.switch_next_char()
|
return self.switch_next_char()
|
||||||
self.click_echo()
|
self.click_echo()
|
||||||
if self.is_forte_full():
|
# if self.is_forte_full():
|
||||||
self.heavy_attack()
|
# self.heavy_attack()
|
||||||
# self.normal_attack()
|
# self.normal_attack()
|
||||||
self.switch_next_char()
|
self.switch_next_char()
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ class CombatCheck:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def recent_liberation(self):
|
def recent_liberation(self):
|
||||||
return time.time() - self._last_liberation < 0.4
|
return time.time() - self._last_liberation < 0.3
|
||||||
|
|
||||||
def check_count_down(self):
|
def check_count_down(self):
|
||||||
count_down_area = self.box_of_screen_scaled(3840, 2160, 1820, 266, 2100,
|
count_down_area = self.box_of_screen_scaled(3840, 2160, 1820, 266, 2100,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user