From 04727c0febbd4bfef806bd149ff4bde0311ed0d1 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, 8 May 2026 16:04:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A6=E5=99=A8):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E9=81=93=E6=95=99=E7=9F=B3=E5=83=8F=E5=B1=9E=E6=80=A7=E5=92=8C?= =?UTF-8?q?=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改道教石像的攻击属性计算方式,移除rate3属性并调整rate2的计算公式 更新武器描述文本以匹配新的机制 将道教石像添加到猞猁角色的武器库中 --- components/Characters/Lynx.tscn | 4 ++++ components/Weapons/DaoStatue.tscn | 26 +++++++++++++------------- scripts/Contents/Weapons/DaoStatue.gd | 3 +-- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/components/Characters/Lynx.tscn b/components/Characters/Lynx.tscn index a7b8220..2a2896a 100644 --- a/components/Characters/Lynx.tscn +++ b/components/Characters/Lynx.tscn @@ -4,6 +4,7 @@ [ext_resource type="Script" uid="uid://b8g0hkqvyeptg" path="res://scripts/Contents/Characters/Lynx.gd" id="2_d6nve"] [ext_resource type="PackedScene" uid="uid://frwt0fgrpskb" path="res://components/Weapons/Meowmere.tscn" id="3_nitbu"] [ext_resource type="PackedScene" uid="uid://cx7nogfnv7s8t" path="res://components/Weapons/Tree.tscn" id="4_7h885"] +[ext_resource type="PackedScene" uid="uid://bbrllsqjmx0ie" path="res://components/Weapons/DaoStatue.tscn" id="5_75d8s"] [node name="Lynx" unique_id=1711205167 instance=ExtResource("1_ns0m5")] script = ExtResource("2_d6nve") @@ -13,3 +14,6 @@ displayName = "猞猁" [node name="Tree" parent="weaponStore" index="1" unique_id=185228402 instance=ExtResource("4_7h885")] debugRebuild = false + +[node name="DaoStatue" parent="weaponStore" index="2" unique_id=265403254 instance=ExtResource("5_75d8s")] +debugRebuild = false diff --git a/components/Weapons/DaoStatue.tscn b/components/Weapons/DaoStatue.tscn index feef666..09dbef3 100644 --- a/components/Weapons/DaoStatue.tscn +++ b/components/Weapons/DaoStatue.tscn @@ -12,10 +12,9 @@ displayName = "道教石像" typeTopic = 1 costBeachball = 499 store = { -"atk": 50, +"atk": 5, "rate1": 0.05, -"rate2": 0.025, -"rate3": 0.01 +"rate2": 1.05 } storeType = { "atk": 1, @@ -23,13 +22,13 @@ storeType = { "rate2": 2, "rate3": 2 } -descriptionTemplate = "挥出[b]天地之剑[/b],蓄力一段时间后, -发射一道[b]无量斩[/b],造成$atk点伤害。 +descriptionTemplate = "消耗[color=yellow]3[/color]层气力,挥出[b]无为之剑[/b], +蓄力一段时间后,发动[b]无量反击[/b], +造成$atk点基础伤害。 -攻击速度每降低[color=yellow]1%[/color],伤害+$rate2; 每失去[color=yellow]1[/color]点生命值,伤害+$rate1; -拥有的所有[b]气力[/b]层数之和,每化解[color=yellow]1[/color]点伤害,[b]无量斩[/b]的伤害+$rate3; -每次攻击需要消耗至少[color=yellow]1[/color]层气力。" +无量反击可化解路径上的一切伤害, +每化解[color=yellow]1[/color]点伤害,基础伤害*$rate2。" sources = Array[String](["Nine Sols"]) tease = "天机不可泄露" needEnergy = 25.0 @@ -56,13 +55,14 @@ typeTopic = 1 text = "Nine Sols" [node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682] -text = "[center]挥出[b]天地之剑[/b],蓄力一段时间后, -发射一道[b]无量斩[/b],造成[color=cyan]50[/color]点伤害。 +text = "[center]消耗[color=yellow]3[/color]层气力,挥出[b]无为之剑[/b], +蓄力一段时间后,发动[b]无量反击[/b], +造成[color=cyan]5[/color]点基础伤害。 -攻击速度每降低[color=yellow]1%[/color],伤害+[color=cyan]2.5%[/color]; 每失去[color=yellow]1[/color]点生命值,伤害+[color=cyan]5.0%[/color]; -拥有的所有[b]气力[/b]层数之和,每化解[color=yellow]1[/color]点伤害,[b]无量斩[/b]的伤害+[color=cyan]1.0%[/color]; -每次攻击需要消耗至少[color=yellow]1[/color]层气力。[/center]" +无量反击可化解路径上的一切伤害, +每化解[color=yellow]1[/color]点伤害,基础伤害*[color=cyan]105.0%[/color]。[/center]" [node name="tease" parent="container" parent_id_path=PackedInt32Array(575698869) index="3" unique_id=689277044] +visible = true text = "“天机不可泄露”" diff --git a/scripts/Contents/Weapons/DaoStatue.gd b/scripts/Contents/Weapons/DaoStatue.gd index 499618f..ba4e746 100644 --- a/scripts/Contents/Weapons/DaoStatue.gd +++ b/scripts/Contents/Weapons/DaoStatue.gd @@ -4,8 +4,7 @@ extends Weapon func update(to: int, origin: Dictionary, _entity: EntityBase): origin["atk"] += 4 * to * soulLevel origin["rate1"] *= soulLevel - origin["rate2"] *= soulLevel - origin["rate3"] *= soulLevel + origin["rate2"] += 0.06 * (soulLevel - 1) return origin func checkAttack(entity: EntityBase) -> bool: return len(entity.getOrCreateCycleTimer("parry", 2000, 100).bullets) > 0