mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-29 07:21:54 +08:00
93fdb8e2b8
- 在武器卡片中添加来源显示标签和数组字段 - 将光标刀的碰撞形状从矩形改为线段 - 为光标刀添加命中时的击退效果 - 优化场景文件格式和节点唯一ID
8 lines
205 B
GDScript
8 lines
205 B
GDScript
extends BulletBase
|
|
class_name CursorKnifeBullet
|
|
|
|
func ai():
|
|
PresetBulletAI.forward(self , rotation)
|
|
func succeedToHit(_dmg: float, entity: EntityBase):
|
|
entity.impluse(Vector2.from_angle(rotation) * 250)
|