0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-06-02 00:45:25 +00:00

优化乡里要, 今汐

This commit is contained in:
firedcto@gmail.com 2024-09-14 13:33:52 +08:00
parent a4c48ff80c
commit 7b6de7745d
4 changed files with 8 additions and 11 deletions

View File

@ -15,10 +15,6 @@ class Baizhi(BaseChar):
self.continues_normal_attack(1.2, click_resonance_if_ready_and_return=True)
self.click_liberation(con_less_than=1)
self.click_resonance()
if not self.is_con_full():
self.logger.debug('continues_normal_attack')
self.continues_normal_attack(1.1 - self.time_elapsed_accounting_for_freeze(self.last_perform),
until_con_full=True)
if self.get_current_con() > 0.65:
self.click_echo()
self.switch_next_char()

View File

@ -20,8 +20,6 @@ class Jinhsi(BaseChar):
elif self.has_intro or self.incarnation_cd:
self.handle_intro()
return self.switch_next_char()
if self.time_elapsed_accounting_for_freeze(self.task.combat_start) < 5 or self.last_fly_e_time == 0:
self.click_liberation()
self.click_echo()
return self.switch_next_char()
@ -40,8 +38,10 @@ class Jinhsi(BaseChar):
self.logger.info(
f'switch priority max because has_intro {has_intro} incarnation {self.incarnation} incarnation_cd {self.incarnation_cd}')
return Priority.MAX
else:
elif self.echo_available():
return super().do_get_switch_priority(current_char, has_intro)
else:
return Priority.MIN
def count_base_priority(self):
return -3

View File

@ -13,7 +13,9 @@ class Xiangliyao(BaseChar):
if self.click_liberation():
self.liberation_time = time.time()
if self.still_in_liberation():
while not self.click_resonance(send_click=True)[0]:
current_resonance = self.current_resonance()
while current_resonance != 0 and not self.has_cd('resonance') and not self.click_resonance(send_click=True)[
0]:
self.continues_normal_attack(1)
elif self.echo_available():
self.logger.debug('click_echo')

View File

@ -17,10 +17,9 @@ class Yuanwu(BaseChar):
return self.switch_next_char()
if self.has_intro:
self.continues_normal_attack(1.2)
if self.is_forte_full():
self.send_resonance_key(down_time=0.7, post_sleep=0.2)
return self.switch_next_char()
self.continues_normal_attack(1.1 - self.time_elapsed_accounting_for_freeze(self.last_perform),
self.click_resonance()
self.continues_normal_attack(1 - self.time_elapsed_accounting_for_freeze(self.last_perform),
until_con_full=True)
if self.get_current_con() > 0.65:
self.click_echo()