From 6b66cef6cbb07da05af0277788b3aaaebef6ebf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Sat, 6 Sep 2025 18:35:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4Chick=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E6=94=BB=E5=87=BB=E6=96=B9=E5=BC=8F=E7=9A=84=E9=9A=8F?= =?UTF-8?q?=E6=9C=BA=E9=80=89=E6=8B=A9=E9=80=BB=E8=BE=91=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=92=BB=E7=9F=B3=E6=94=BB=E5=87=BB=E7=9A=84=E6=A6=82?= =?UTF-8?q?=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Contents/Characters/Chick.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Contents/Characters/Chick.gd b/scripts/Contents/Characters/Chick.gd index 454ea21..d25036d 100644 --- a/scripts/Contents/Characters/Chick.gd +++ b/scripts/Contents/Characters/Chick.gd @@ -23,7 +23,7 @@ func ai(): elif currentFocusedBoss.position.distance_to(position) < 700: tryAttack(1) else: - var method = MathTool.randc_from([0, 3, 0]) # 0: 钻石, 1: 激光, 2: 喷火, 3: 冲刺,这里随机到钻石的概率比冲刺大一倍 + var method = MathTool.randc_from([0, 0, 0, 0, 3]) tryAttack(method, method == 3) func attack(type): if type == 0: