mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-07 01:15:18 +00:00
修复自动战斗bug
This commit is contained in:
parent
ae422b9cb0
commit
b443290524
@ -135,8 +135,7 @@ class BaseCombatTask(BaseWWTask, FindFeature, OCR, CombatCheck):
|
||||
# if time.time() - current_char.last_perform < 0.1:
|
||||
current_char.continues_normal_attack(0.2)
|
||||
logger.warning(f"can't find next char to switch to, performing too fast add a normal attack")
|
||||
return self.switch_next_char(current_char, post_action=post_action, free_intro=free_intro,
|
||||
target_low_con=target_low_con)
|
||||
return current_char.switch_next_char()
|
||||
switch_to.has_intro = has_intro
|
||||
logger.info(f'switch_next_char {current_char} -> {switch_to} has_intro {has_intro}')
|
||||
last_click = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user