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

refactor(子弹系统): 重构子弹伤害检测逻辑

将子弹伤害检测逻辑提取到BulletTool工具类中
新增SevenSoul子弹的初始属性和碰撞处理
调整hitbox位置并启用碰撞检测
This commit is contained in:
2025-09-26 22:37:05 +08:00
parent 65d31940de
commit a38d99a998
4 changed files with 26 additions and 5 deletions
+4 -1
View File
@@ -29,6 +29,9 @@ alpha_curve = SubResource("CurveTexture_d1eej")
[node name="SevenSoul" instance=ExtResource("1_c4fl5")]
script = ExtResource("2_egs34")
speed = 0.0
damage = 0.0
penerate = 1.0
lifeTime = 112000.0
[node name="heart" type="Sprite2D" parent="texture" index="1"]
@@ -49,4 +52,4 @@ one_shot = true
local_coords = true
[node name="hitbox" parent="." index="1"]
disabled = true
position = Vector2(100, 0)