0
0
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:
firedcto@gmail.com 2024-08-19 01:58:57 +08:00
parent 5b003214d3
commit 088d4fd721
3 changed files with 8 additions and 4 deletions

View File

@ -12,9 +12,10 @@ 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()
self.click_echo()
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

@ -104,15 +104,17 @@ class Jinhsi(BaseChar):
self.logger.info(f'handle_intro in cd switch {start - self.last_fly_e_time}')
return
clicked_resonance = False
while True:
self.task.next_frame()
self.check_combat()
if not self.has_cd('resonance'):
self.send_resonance_key(interval=0.1)
if time.time() - self.last_fly_e_time > 7:
if not clicked_resonance:
clicked_resonance = True
self.last_fly_e_time = time.time()
continue
if time.time() - start < 4:
if time.time() - start < 3 and not clicked_resonance:
self.task.click(interval=0.1)
continue
if self.task.debug:

View File

@ -18,7 +18,8 @@ class Yuanwu(BaseChar):
self.continues_normal_attack(1.2)
if self.is_forte_full():
self.send_resonance_key(down_time=0.7, post_sleep=0.2)
self.click_echo()
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()