From 5304541c9ab7fd64c2fd3ba9fb1056ee8314dd32 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: Thu, 4 Dec 2025 22:37:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=AD=A6=E5=99=A8):=20=E5=A2=9E=E5=BC=BA?= =?UTF-8?q?=E7=81=AB=E5=B1=B1=E6=AD=A6=E5=99=A8=E6=94=BB=E5=87=BB=E5=8A=9B?= =?UTF-8?q?=E5=B9=B6=E6=9B=BF=E6=8D=A2=E5=85=AC=E9=B8=A1=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=9A=84=E6=AD=A6=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将火山武器的攻击力加成从2倍提升至3倍,同时将公鸡角色的武器从紫水晶替换为火山武器 --- components/Characters/Rooster.tscn | 5 ++--- scripts/Contents/Weapons/Volcano.gd | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/Characters/Rooster.tscn b/components/Characters/Rooster.tscn index f0be50d..c283694 100644 --- a/components/Characters/Rooster.tscn +++ b/components/Characters/Rooster.tscn @@ -2,7 +2,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://c0n3igy4hucrg" path="res://components/Weapons/PurpleCrystal.tscn" id="3_0omr3"] +[ext_resource type="PackedScene" uid="uid://u0djqwuuysp8" path="res://components/Weapons/Volcano.tscn" id="3_0omr3"] [ext_resource type="AudioStream" uid="uid://dclinyhu256xi" path="res://resources/sounds/effect/Low Whoosh.mp3" id="3_4syso"] [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"] @@ -56,8 +56,7 @@ metadata/_edit_vertical_guides_ = [71.0] [node name="weaponStore" parent="." index="1"] process_mode = 4 -[node name="PurpleCrystal" parent="weaponStore" index="0" instance=ExtResource("3_0omr3")] -debugRebuild = false +[node name="Volcano" parent="weaponStore" index="0" instance=ExtResource("3_0omr3")] [node name="sprint" parent="sounds" index="0"] stream = ExtResource("4_66s6c") diff --git a/scripts/Contents/Weapons/Volcano.gd b/scripts/Contents/Weapons/Volcano.gd index 2088aa1..32c88f7 100644 --- a/scripts/Contents/Weapons/Volcano.gd +++ b/scripts/Contents/Weapons/Volcano.gd @@ -9,7 +9,7 @@ func update(to: int, origin: Dictionary, _entity: EntityBase): origin["dmg4"] += 0.03 * to * soulLevel origin["dmg5"] += 0.025 * to * soulLevel origin["count"] = 1 * soulLevel - origin["atk"] += 2 * to * soulLevel + origin["atk"] += 3 * to * soulLevel return origin func attack(entity: EntityBase): for j in BulletBase.generate(