1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 12:47:13 +08:00

feat(子弹): 重构小鸡激光攻击并优化子弹行为

- 替换原有Laser为ChickLaser,实现更华丽的激光效果
- 调整FireScan子弹速度和伤害值
- 优化Diamond子弹追踪逻辑和持续时间
- 新增PresetsAI.lockLauncher方法用于固定子弹位置
- 调整Chick角色的攻击冷却时间和攻击距离判定
This commit is contained in:
2025-08-29 11:17:02 +08:00
parent 187100f500
commit 5c16dcc294
10 changed files with 268 additions and 68 deletions
+1 -3
View File
@@ -32,18 +32,16 @@ animations = [{
[node name="Chick" instance=ExtResource("1_goqmy")]
script = ExtResource("2_r6bub")
cooldownUnit = 3000.0
isBoss = true
displayName = "小鸡"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(10, 30), Vector2(15, 50)])
appleCount = Vector2i(2, 4)
energy = 1000.0
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_ik1xf")
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="4"]
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="6"]
stream = ExtResource("4_oyq2p")
[node name="texture" parent="." index="1"]