From 3746a6c73bdacd242902e2c5b3258acd5d755458 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, 23 Jan 2026 23:51:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A6=E5=99=A8/=E5=AD=90=E5=BC=B9):=20?= =?UTF-8?q?=E5=A2=9E=E5=BC=BA=E9=85=B8=E6=80=A7=E6=AD=A6=E5=99=A8=E4=BC=A4?= =?UTF-8?q?=E5=AE=B3=E5=B9=B6=E6=B7=BB=E5=8A=A0=E5=AD=90=E5=BC=B9=E5=88=86?= =?UTF-8?q?=E8=A3=82=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 提高酸性武器的基础攻击力和弱点攻击伤害 - 为酸性子弹添加分裂功能,分裂时保持原子弹的缩放方向 --- scripts/Contents/Bullets/AcidC.gd | 3 +++ scripts/Contents/Weapons/AcidWind.gd | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/Contents/Bullets/AcidC.gd b/scripts/Contents/Bullets/AcidC.gd index 4fccb05..14de7d6 100644 --- a/scripts/Contents/Bullets/AcidC.gd +++ b/scripts/Contents/Bullets/AcidC.gd @@ -5,3 +5,6 @@ func ai(): super.ai() scale *= 1.01 modulate.a = 1 - timeLived() / lifeTime +func split(newBullet: BulletBase, _index: int, _total: int, _lastBullet: float): + newBullet.scale = scale.sign() + return newBullet diff --git a/scripts/Contents/Weapons/AcidWind.gd b/scripts/Contents/Weapons/AcidWind.gd index c061587..7b47acb 100644 --- a/scripts/Contents/Weapons/AcidWind.gd +++ b/scripts/Contents/Weapons/AcidWind.gd @@ -4,14 +4,14 @@ extends Weapon var acids: Array[String] = ["AcidS", "AcidN", "AcidCl", "AcidP", "AcidC"] func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 0.05 * to * soulLevel + origin["atk"] += 0.075 * to * soulLevel origin["c-atk"] *= soulLevel origin["cl-atkspeed"] *= soulLevel origin["cl-speed"] *= soulLevel origin["n-atk"] *= soulLevel origin["p-offset"] *= soulLevel origin["s-count-max"] *= soulLevel - origin["weakatk"] = 0.025 * soulLevel + origin["weakatk"] = 0.05 * soulLevel return origin func attack(entity: EntityBase): for bullet in BulletBase.generate(