From ff19a54da32a66ec7042da91a2629198ac140165 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: Tue, 16 Dec 2025 23:01:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=AD=A6=E5=99=A8):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E7=BA=A2=E6=B0=B4=E6=99=B6=E6=AD=A6=E5=99=A8=E7=9A=84=E5=8D=8A?= =?UTF-8?q?=E5=BE=84=E5=A2=9E=E9=95=BF=E7=B3=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将红水晶武器的半径增长系数从4降低到1,以平衡游戏性 移除公鸡角色中未使用的粒子效果相关资源,优化场景文件 --- components/Characters/Rooster.tscn | 26 +------------------------- scripts/Contents/Weapons/RedCrystal.gd | 2 +- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/components/Characters/Rooster.tscn b/components/Characters/Rooster.tscn index eb8fba7..80c686d 100644 --- a/components/Characters/Rooster.tscn +++ b/components/Characters/Rooster.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=3 uid="uid://bm7ymrri6pykb"] +[gd_scene load_steps=14 format=3 uid="uid://bm7ymrri6pykb"] [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"] @@ -46,24 +46,6 @@ animations = [{ [sub_resource type="CircleShape2D" id="CircleShape2D_h1v0q"] radius = 61.204575 -[sub_resource type="Curve" id="Curve_0omr3"] -_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] -point_count = 2 - -[sub_resource type="CurveTexture" id="CurveTexture_joj4g"] -curve = SubResource("Curve_0omr3") - -[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0omr3"] -particle_flag_disable_z = true -angle_min = 1.0728835e-05 -angle_max = 360.00003 -direction = Vector3(0, -1, 0) -initial_velocity_max = 30.0 -gravity = Vector3(0, 0, 0) -scale_min = 5.0 -scale_max = 20.0 -alpha_curve = SubResource("CurveTexture_joj4g") - [node name="Rooster" instance=ExtResource("1_e5pl8")] script = ExtResource("2_oqdqd") displayName = "公鸡" @@ -113,12 +95,6 @@ shape = SubResource("CircleShape2D_h1v0q") [node name="normal" type="Node2D" parent="texture/weapons" index="0"] position = Vector2(54, -45) -[node name="stepParticle" type="GPUParticles2D" parent="texture" index="9"] -z_index = -1 -position = Vector2(23, 58) -amount = 20 -process_material = SubResource("ParticleProcessMaterial_0omr3") - [node name="statebar" parent="." index="4" node_paths=PackedStringArray("entity")] position = Vector2(0, -202) entity = NodePath("..") diff --git a/scripts/Contents/Weapons/RedCrystal.gd b/scripts/Contents/Weapons/RedCrystal.gd index c14df89..cf5249f 100644 --- a/scripts/Contents/Weapons/RedCrystal.gd +++ b/scripts/Contents/Weapons/RedCrystal.gd @@ -4,7 +4,7 @@ class_name RedCrystalWeapon func update(to: int, origin: Dictionary, _entity: EntityBase): origin["atk"] += 5 * to * soulLevel - origin["radius"] += 4 * to * soulLevel + origin["radius"] += 1 * to * soulLevel return origin func attack(entity: EntityBase): var weaponPos = entity.findWeaponAnchor("normal")