From 90a090135bf1929c0d92f7fccdb972afbfafa878 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: Fri, 29 Aug 2025 14:11:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(Chick):=20=E8=B0=83=E6=95=B4=E6=94=BB?= =?UTF-8?q?=E5=87=BB=E6=96=B9=E6=B3=95=E9=9A=8F=E6=9C=BA=E6=A6=82=E7=8E=87?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E9=92=BB=E7=9F=B3=E6=94=BB=E5=87=BB?= =?UTF-8?q?=E5=87=A0=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 db26ca4..ce7faca 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([3, 3, 0, 3, 3]) + var method = MathTool.randc_from([3, 0, 0]) # 0: 钻石, 1: 激光, 2: 喷火, 3: 冲刺,这里随机到钻石的概率比冲刺大一倍 tryAttack(method, method == 3) func attack(type): if type == 0: