From b443290524f58b672e11013d37b89388a7f9bc34 Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Mon, 19 Aug 2024 10:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8=E6=88=98?= =?UTF-8?q?=E6=96=97bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/task/BaseCombatTask.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/task/BaseCombatTask.py b/src/task/BaseCombatTask.py index 4eae2bf..54b0c93 100644 --- a/src/task/BaseCombatTask.py +++ b/src/task/BaseCombatTask.py @@ -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