From ae422b9cb08de91eff57f2b665e6f3eb0c3e9003 Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Mon, 19 Aug 2024 10:37:20 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/task/BaseCombatTask.py b/src/task/BaseCombatTask.py index 65b50f2..4eae2bf 100644 --- a/src/task/BaseCombatTask.py +++ b/src/task/BaseCombatTask.py @@ -131,10 +131,10 @@ class BaseCombatTask(BaseWWTask, FindFeature, OCR, CombatCheck): max_priority = priority switch_to = char if switch_to == current_char: - logger.warning(f"can't find next char to switch to, maybe switching too fast click and wait") - 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") + # logger.warning(f"can't find next char to switch to, maybe switching too fast click and wait") + # 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) switch_to.has_intro = has_intro