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

feat(战斗系统): 调整能量块攻击逻辑和扫帚子弹属性

- 为扫帚子弹添加基础伤害属性并调整碰撞盒位置
- 扩展能量块攻击冷却时间配置,增加多种攻击类型
- 重构攻击逻辑,支持多类型攻击和互斥控制
- 优化子弹生成逻辑,根据类型执行不同行为
This commit is contained in:
2026-05-01 06:38:07 +08:00
parent 0ecf51f9e7
commit bd2525a55e
2 changed files with 15 additions and 8 deletions
+3 -2
View File
@@ -242,6 +242,7 @@ size = Vector2(259.81308, 36.189156)
script = ExtResource("2_23nu4")
displayName = "扫帚"
speed = 15.0
baseDamage = 20.0
motionType = 0
penerate = 1.0
autoSpawnAnimation = true
@@ -268,8 +269,8 @@ local_coords = true
process_material = SubResource("ParticleProcessMaterial_h2e5u")
[node name="hitbox" parent="." index="1" unique_id=175349408 node_paths=PackedStringArray("target")]
position = Vector2(439.70004, 16.243788)
rotation = -3.1046665
position = Vector2(0.3503607, 439.99988)
rotation = -1.5715926
scale = Vector2(2, 2)
shape = SubResource("RectangleShape2D_ccsa1")
script = ExtResource("3_ihf3m")