From b3c7efd1f4229fd3d72efe2704a4e9b7cbe22782 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: Wed, 25 Mar 2026 22:07:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(Bullets/Parrier):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=BC=B9=E5=8F=8D=E5=AD=90=E5=BC=B9=E7=9A=84=E4=BC=A4=E5=AE=B3?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将弹反后的子弹基础伤害乘以攻击力,以平衡游戏性 --- scripts/Contents/Bullets/Parrier.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/Contents/Bullets/Parrier.gd b/scripts/Contents/Bullets/Parrier.gd index c5af437..775f1ba 100644 --- a/scripts/Contents/Bullets/Parrier.gd +++ b/scripts/Contents/Bullets/Parrier.gd @@ -30,11 +30,10 @@ func hitBullet(bullet: BulletBase): # 当前子弹与其他子弹相撞 eff.shot() CameraManager.shake(250, 300) launcher.impluse((position - bullet.position).normalized() * (bullet.speed * bullet.getDamage()) ** (1.0 / 3) * 250) - # 摧毁其他子弹 - # bullet.tryDestroy() - # 试一下改成弹反的平衡性有没有问题 + # 弹反 bullet.look_at(bullet.launcher.position) bullet.launcher = launcher + bullet.baseDamage *= atk var cycler = launcher.getOrCreateCycleTimer("parry", 2000, 100) if len(cycler.bullets) < maxBallCount: # 玩家最多只能拥有多少气 for b in BulletBase.generate(