From dab35fa013b64f89a1d02845aef3675d309bbcef Mon Sep 17 00:00:00 2001 From: "firedcto@gmail.com" Date: Thu, 26 Sep 2024 11:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B9=A1=E9=87=8C=E8=A6=81?= =?UTF-8?q?=E6=89=8B=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/char/Xiangliyao.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/char/Xiangliyao.py b/src/char/Xiangliyao.py index 45fc588..d2c5a83 100644 --- a/src/char/Xiangliyao.py +++ b/src/char/Xiangliyao.py @@ -13,9 +13,7 @@ class Xiangliyao(BaseChar): if self.click_liberation(): self.liberation_time = time.time() if self.still_in_liberation(): - current_resonance = self.current_resonance() - while current_resonance != 0 and not self.has_cd('resonance') and not self.click_resonance(send_click=True)[ - 0]: + while not self.click_resonance(send_click=True)[0]: self.continues_normal_attack(1) elif self.echo_available(): self.logger.debug('click_echo')