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
bc783b6693
commit
611bd4a30a
@ -279,7 +279,6 @@ class BaseChar:
|
||||
if con_less_than > 0:
|
||||
if self.get_current_con() > con_less_than:
|
||||
return False
|
||||
self.task.in_liberation = True
|
||||
self.logger.debug(f'click_liberation start')
|
||||
start = time.time()
|
||||
last_click = 0
|
||||
@ -296,7 +295,7 @@ class BaseChar:
|
||||
self.task.raise_not_in_combat('too long clicking a liberation')
|
||||
self.task.next_frame()
|
||||
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.logger.debug(f'not in_team successfully casted liberation')
|
||||
else:
|
||||
|
@ -6,12 +6,13 @@ class Verina(BaseChar):
|
||||
def do_perform(self):
|
||||
self.click_liberation()
|
||||
if self.flying():
|
||||
self.normal_attack()
|
||||
return self.switch_next_char()
|
||||
if self.click_resonance(send_click=False)[0]:
|
||||
return self.switch_next_char()
|
||||
self.click_echo()
|
||||
if self.is_forte_full():
|
||||
self.heavy_attack()
|
||||
# if self.is_forte_full():
|
||||
# self.heavy_attack()
|
||||
# self.normal_attack()
|
||||
self.switch_next_char()
|
||||
|
||||
|
@ -69,7 +69,7 @@ class CombatCheck:
|
||||
return False
|
||||
|
||||
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):
|
||||
count_down_area = self.box_of_screen_scaled(3840, 2160, 1820, 266, 2100,
|
||||
|
Loading…
x
Reference in New Issue
Block a user