From df661d38e57af2b73c62816abe7af65dd119a8e1 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, 28 Jan 2026 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=AD=A6=E5=99=A8=E5=B9=B3=E8=A1=A1):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=8D=89=E6=96=B9=E5=9D=97=E8=8F=8C=E8=90=BD?= =?UTF-8?q?=E7=9A=84=E6=94=BB=E5=87=BB=E5=8A=9B=E5=92=8C=E5=86=B7=E5=8D=B4?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将草方块菌落的攻击加成从3倍降低到1倍,基础伤害从200降低到100,冷却时间从2000ms缩短到1000ms。同时将公鸡角色的武器配置从氧气发生器替换为紫水晶。 --- components/Characters/Rooster.tscn | 9 ++++----- components/Weapons/GrassWall.tscn | 6 +++--- scripts/Contents/Weapons/GrassWall.gd | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/components/Characters/Rooster.tscn b/components/Characters/Rooster.tscn index bc4b235..61dea8f 100644 --- a/components/Characters/Rooster.tscn +++ b/components/Characters/Rooster.tscn @@ -3,7 +3,7 @@ [ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_e5pl8"] [ext_resource type="Script" uid="uid://cthtupc6dtbav" path="res://scripts/Contents/Characters/Rooster.gd" id="2_oqdqd"] [ext_resource type="PackedScene" uid="uid://dldnbpubu2jgm" path="res://components/Weapons/GrassWall.tscn" id="3_0omr3"] -[ext_resource type="PackedScene" uid="uid://b5ebx8duvgtt5" path="res://components/Weapons/Oxygener.tscn" id="3_da2ca"] +[ext_resource type="PackedScene" uid="uid://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_joj4g"] [ext_resource type="AudioStream" uid="uid://cdrevrq7n6yqa" path="res://resources/sounds/effect/Boing.mp3" id="4_66s6c"] [ext_resource type="AudioStream" uid="uid://benyec5bqni0b" path="res://resources/sounds/effect/Chomp.wav" id="4_k0yme"] [ext_resource type="AudioStream" uid="uid://dmxh3bpk8vyy5" path="res://resources/sounds/effect/Coin.mp3" id="5_xnbhq"] @@ -59,11 +59,10 @@ metadata/_edit_vertical_guides_ = [71.0] [node name="weaponStore" parent="." index="1"] process_mode = 4 -[node name="GrassWall" parent="weaponStore" index="0" instance=ExtResource("3_0omr3")] -offset_bottom = 374.0 +[node name="PurpleCrystal" parent="weaponStore" index="0" instance=ExtResource("3_joj4g")] +offset_bottom = 350.0 -[node name="Oxygener" parent="weaponStore" index="1" instance=ExtResource("3_da2ca")] -debugRebuild = false +[node name="GrassWall" parent="weaponStore" index="1" instance=ExtResource("3_0omr3")] [node name="sprint" parent="sounds" index="0"] stream = ExtResource("4_66s6c") diff --git a/components/Weapons/GrassWall.tscn b/components/Weapons/GrassWall.tscn index 16c57f8..d6ba401 100644 --- a/components/Weapons/GrassWall.tscn +++ b/components/Weapons/GrassWall.tscn @@ -11,11 +11,11 @@ displayName = "草方块菌落" typeTopic = 4 costBeachball = 10 store = { -"atk": 200 +"atk": 100 } descriptionTemplate = "分泌一堵[b]肽聚墙[/b],可抵挡$atk点伤害,敌人更有可能瞄准你。" needEnergy = 35.0 -cooldown = 2000.0 +cooldown = 1000.0 [node name="avatar" parent="container/info" index="0"] texture = ExtResource("2_kh4xg") @@ -31,4 +31,4 @@ displayName = "草方块菌落" typeTopic = 4 [node name="description" parent="container" index="2"] -text = "[center]分泌一堵[b]肽聚墙[/b],可抵挡[color=cyan]10[/color]点伤害,敌人更有可能瞄准你。[/center]" +text = "[center]分泌一堵[b]肽聚墙[/b],可抵挡[color=cyan]200[/color]点伤害,敌人更有可能瞄准你。[/center]" diff --git a/scripts/Contents/Weapons/GrassWall.gd b/scripts/Contents/Weapons/GrassWall.gd index f0e8be1..542ef3e 100644 --- a/scripts/Contents/Weapons/GrassWall.gd +++ b/scripts/Contents/Weapons/GrassWall.gd @@ -2,7 +2,7 @@ extends Weapon func update(to: int, origin: Dictionary, _entity: EntityBase): - origin["atk"] += 3 * to * soulLevel + origin["atk"] += 1 * to * soulLevel return origin func attack(entity: EntityBase): var wall = ObstacleBase.generate(