From 1d9c3fc4663e9adc3e5ce3372bfc2d6402c096e7 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: Sun, 7 Sep 2025 12:37:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=92=E8=89=B2=E5=B9=B3=E8=A1=A1):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B0=8F=E9=B8=A1=E8=A7=92=E8=89=B2=E7=9A=84?= =?UTF-8?q?=E5=86=B2=E5=88=BA=E5=80=8D=E7=8E=87=E5=92=8C=E5=86=B2=E5=88=BA?= =?UTF-8?q?=E4=BC=A4=E5=AE=B3=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将小鸡的冲刺倍率从60降低到30以平衡游戏性 修改冲刺伤害计算方式,使其与角色速度相关 --- scripts/Contents/Bullets/ChickSprint.gd | 2 +- scripts/Contents/Characters/Chick.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Contents/Bullets/ChickSprint.gd b/scripts/Contents/Bullets/ChickSprint.gd index 649af3a..330dd43 100644 --- a/scripts/Contents/Bullets/ChickSprint.gd +++ b/scripts/Contents/Bullets/ChickSprint.gd @@ -3,9 +3,9 @@ class_name ChickSprint func register(): speed = 0 - damage = 20 penerate = 1 func ai(): + damage = launcher.velocity.length() PresetBulletAI.lockLauncher(self, launcher, true) if !launcher.sprinting: tryDestroy() diff --git a/scripts/Contents/Characters/Chick.gd b/scripts/Contents/Characters/Chick.gd index 02082e4..e7b1fcb 100644 --- a/scripts/Contents/Characters/Chick.gd +++ b/scripts/Contents/Characters/Chick.gd @@ -12,7 +12,7 @@ func register(): attackCooldownMap[1] = 6000 attackCooldownMap[2] = 100 attackCooldownMap[3] = 500 - sprintMultiplier = 60 + sprintMultiplier = 30 func spawn(): texture.play("walk")