1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix(武器/子弹): 调整齿轮武器的攻击力和动画效果

将齿轮武器的攻击力从5降低到2以平衡游戏性
修改子弹动画轨道类型,从bezier改为value,并调整发射效果
移除子弹组件中未使用的属性,简化代码结构
This commit is contained in:
2026-02-15 20:22:28 +08:00
parent f8235e27e2
commit 2682863302
2 changed files with 14 additions and 26 deletions
+12 -24
View File
@@ -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)
+2 -2
View File
@@ -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]"