mirror of
https://github.com/ok-oldking/ok-wuthering-waves.git
synced 2025-06-07 09:25:34 +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:
|
# if time.time() - current_char.last_perform < 0.1:
|
||||||
current_char.continues_normal_attack(0.2)
|
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")
|
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,
|
return current_char.switch_next_char()
|
||||||
target_low_con=target_low_con)
|
|
||||||
switch_to.has_intro = has_intro
|
switch_to.has_intro = has_intro
|
||||||
logger.info(f'switch_next_char {current_char} -> {switch_to} has_intro {has_intro}')
|
logger.info(f'switch_next_char {current_char} -> {switch_to} has_intro {has_intro}')
|
||||||
last_click = 0
|
last_click = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user