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