From 54b9bfccf9b7ed32a532a2e9343b28b89130d369 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, 4 Feb 2026 20:17:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A6=E5=99=A8):=20=E8=B0=83=E6=95=B4H?= =?UTF-8?q?XD=E6=AD=A6=E5=99=A8=E7=9A=84=E5=B1=9E=E6=80=A7=E5=92=8C?= =?UTF-8?q?=E6=94=BB=E5=87=BB=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将子弹的生命周期从5000ms缩短至2500ms - 提升攻击力加成系数从1.5调整为2 - 增加子弹数量加成从2调整为3 - 修改攻击循环使用count而非atk值 --- components/Bullets/HXD.tscn | 2 +- scripts/Contents/Weapons/HXD.gd | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/Bullets/HXD.tscn b/components/Bullets/HXD.tscn index 9caa99d..8388036 100644 --- a/components/Bullets/HXD.tscn +++ b/components/Bullets/HXD.tscn @@ -41,7 +41,7 @@ script = ExtResource("2_4lnkm") displayName = "茴香豆" penerate = 1.0 penerateDamageReduction = 0.04 -lifeTime = 5000.0 +lifeTime = 2500.0 [node name="texture" parent="." index="0"] scale = Vector2(0.2, 0.2) diff --git a/scripts/Contents/Weapons/HXD.gd b/scripts/Contents/Weapons/HXD.gd index fe2d4ce..18f7d42 100644 --- a/scripts/Contents/Weapons/HXD.gd +++ b/scripts/Contents/Weapons/HXD.gd @@ -2,11 +2,11 @@ extends Weapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 1.5 * to * soulLevel - origin["count"] += 2 * (soulLevel - 1) + origin["atk"] += 2 * to * soulLevel + origin["count"] += 3 * (soulLevel - 1) return origin func attack(entity: EntityBase): - for i in readStore("atk"): + for i in readStore("count"): for bullet in BulletBase.generate( ComponentManager.getBullet("HXD"), entity,