From 74285b3cccb9335ecd0b605978e903c05ba697fe 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: Sat, 31 Jan 2026 13:23:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A6=E5=99=A8):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E9=B8=A1=E6=AF=9B=E5=BC=93=E7=9A=84=E4=BC=A4=E5=AE=B3=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E5=92=8C=E5=B1=9E=E6=80=A7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 提高攻击伤害系数从0.05到0.075 - 降低自身伤害系数从0.05到0.025 - 更新基础生命值消耗从1.0到2.0 - 移除能量需求相关配置 - 更新描述文本以匹配当前数值 --- components/Weapons/Bow.tscn | 12 +++--------- scripts/Contents/Weapons/Bow.gd | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/components/Weapons/Bow.tscn b/components/Weapons/Bow.tscn index 277c158..39bebb4 100644 --- a/components/Weapons/Bow.tscn +++ b/components/Weapons/Bow.tscn @@ -13,7 +13,7 @@ costBeachball = 50 store = { "atk": 5, "count": 1, -"self": 1.0 +"self": 2.0 } storeType = { "atk": 2, @@ -21,24 +21,18 @@ storeType = { "self": 1 } descriptionTemplate = "消耗$self点生命值,发射$count支[b]鸡毛箭[/b],每支造成当前飞行速度的$atk伤害。" -needEnergy = 50.0 cooldown = 2000.0 +debugRebuild = true [node name="avatar" parent="container/info" index="0"] texture = ExtResource("2_ex3jl") -[node name="energy" parent="container/info/infos/energyInfo" index="1"] -text = "15.0" - [node name="beachball" parent="container/info/infos" index="1"] count = 50 -[node name="soul" parent="container/info/infos" index="2"] -count = 1 - [node name="name" parent="container/info" index="2"] displayName = "鸡毛弓" quality = 2 [node name="description" parent="container" index="2"] -text = "[center]消耗[color=cyan]1[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]500%[/color]伤害。[/center]" +text = "[center]消耗[color=cyan]2[/color]点生命值,发射[color=cyan]1[/color]支[b]鸡毛箭[/b],每支造成当前飞行速度的[color=cyan]500.0%[/color]伤害。[/center]" diff --git a/scripts/Contents/Weapons/Bow.gd b/scripts/Contents/Weapons/Bow.gd index 07b8d32..766c479 100644 --- a/scripts/Contents/Weapons/Bow.gd +++ b/scripts/Contents/Weapons/Bow.gd @@ -2,9 +2,9 @@ extends Weapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 0.05 * to * soulLevel + origin["atk"] += 0.075 * to * soulLevel origin["count"] = 1 * soulLevel - origin["self"] += 0.05 * to + origin["self"] += 0.025 * to return origin func attack(entity: EntityBase): entity.takeDamage(readStore("self"))