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

feat(武器系统): 添加武器来源显示功能并优化光标刀碰撞

- 在武器卡片中添加来源显示标签和数组字段
- 将光标刀的碰撞形状从矩形改为线段
- 为光标刀添加命中时的击退效果
- 优化场景文件格式和节点唯一ID
This commit is contained in:
2026-04-04 08:55:15 +08:00
parent d4598e113d
commit 93fdb8e2b8
4 changed files with 57 additions and 38 deletions
+2
View File
@@ -3,3 +3,5 @@ class_name CursorKnifeBullet
func ai():
PresetBulletAI.forward(self , rotation)
func succeedToHit(_dmg: float, entity: EntityBase):
entity.impluse(Vector2.from_angle(rotation) * 250)