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

feat(战斗系统): 优化Kernyr角色的攻击逻辑和碰撞形状

- 将Yangyi子弹的碰撞形状从矩形改为圆形
- 为EntityBase添加攻击互斥状态管理
- 调整Kernyr的攻击冷却时间和互斥规则
- 重写Kernyr的AI攻击逻辑和特殊攻击2的实现
This commit is contained in:
2026-03-28 08:29:22 +08:00
parent bbb4540ec4
commit cc0899a264
3 changed files with 35 additions and 11 deletions
+3 -3
View File
@@ -53,8 +53,8 @@ _data = {
&"loop": SubResource("Animation_c3irh")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_x2cof"]
size = Vector2(48, 48)
[sub_resource type="CircleShape2D" id="CircleShape2D_c3irh"]
radius = 43.011627
[sub_resource type="Curve" id="Curve_c3irh"]
_data = [Vector2(0, 0.8), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
@@ -90,7 +90,7 @@ libraries = {
}
[node name="hitbox" parent="." index="1"]
shape = SubResource("RectangleShape2D_x2cof")
shape = SubResource("CircleShape2D_c3irh")
[node name="trail" type="GPUParticles2D" parent="." index="2"]
z_index = -1