From 2682863302837c2f427e99e03487fa6fb300fa81 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: Sun, 15 Feb 2026 20:22:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=AD=A6=E5=99=A8/=E5=AD=90=E5=BC=B9):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=BD=BF=E8=BD=AE=E6=AD=A6=E5=99=A8=E7=9A=84?= =?UTF-8?q?=E6=94=BB=E5=87=BB=E5=8A=9B=E5=92=8C=E5=8A=A8=E7=94=BB=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将齿轮武器的攻击力从5降低到2以平衡游戏性 修改子弹动画轨道类型,从bezier改为value,并调整发射效果 移除子弹组件中未使用的属性,简化代码结构 --- components/Bullets/Cogwheel.tscn | 36 +++++++++++--------------------- components/Weapons/Cogwheel.tscn | 4 ++-- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/components/Bullets/Cogwheel.tscn b/components/Bullets/Cogwheel.tscn index 976c5d5..4e0aaf3 100644 --- a/components/Bullets/Cogwheel.tscn +++ b/components/Bullets/Cogwheel.tscn @@ -29,16 +29,17 @@ tracks/0/keys = { "points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 0, -0.16666667, 0.16666667, 0, 0), "times": PackedFloat32Array(0, 0.5) } -tracks/1/type = "bezier" +tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true -tracks/1/path = NodePath("%texture/..:scale:x") +tracks/1/path = NodePath("%texture/../trails:emitting") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { -"handle_modes": PackedInt32Array(2, 0), -"points": PackedFloat32Array(1, 0, 0, 0.083333336, -0.16666667, 0, -0.07777778, 0.16666667, 0, 0), -"times": PackedFloat32Array(0, 0.5) +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [false] } [sub_resource type="Animation" id="Animation_d8ajx"] @@ -54,16 +55,17 @@ tracks/0/keys = { "points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), "times": PackedFloat32Array(0) } -tracks/1/type = "bezier" +tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true -tracks/1/path = NodePath("%texture/..:scale:x") +tracks/1/path = NodePath("%texture/../trails:emitting") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { -"handle_modes": PackedInt32Array(0), -"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0), -"times": PackedFloat32Array(0) +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 1, +"values": [true] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_d8ajx"] @@ -105,23 +107,9 @@ alpha_curve = SubResource("CurveTexture_d8ajx") script = ExtResource("2_cjmf3") displayName = "齿轮" speed = 20.0 -baseDamage = null -damageMultipliers = null -usingDamageMultiplier = null penerate = 1.0 -penerateDamageReduction = null -lifeDistance = null lifeTime = 5000.0 -allowFriendlyDamage = null -canDamageSelf = null -autoSpawnAnimation = null -autoLoopAnimation = null autoDestroyAnimation = true -autoDestroyOnHitMap = null -freeAfterSpawn = null -knockback = null -recoil = null -canDoDuplicate = null [node name="texture" parent="." index="0"] scale = Vector2(0.2, 0.2) diff --git a/components/Weapons/Cogwheel.tscn b/components/Weapons/Cogwheel.tscn index 1e47e7d..a421064 100644 --- a/components/Weapons/Cogwheel.tscn +++ b/components/Weapons/Cogwheel.tscn @@ -10,7 +10,7 @@ avatarTexture = ExtResource("2_qs30c") displayName = "齿轮回旋镖" quality = 3 store = { -"atk": 5, +"atk": 2, "rotate": 15.0 } storeType = { @@ -34,5 +34,5 @@ quality = 3 [node name="description" parent="container" index="2"] text = "[center]发射[b]齿轮[/b],在飞行一定距离后回旋。 齿轮的伤害频率与转速成正比。 -锋利度:[color=cyan]5[/color],初始转速:[color=cyan]15.0°[/color], +锋利度:[color=cyan]2[/color],初始转速:[color=cyan]15.0°[/color], 齿轮的转速随时间逐渐降低。[/center]"