2026-03-07 09:05:36 +08:00
|
|
|
extends BulletBase
|
|
|
|
|
class_name CursorKnifeBullet
|
|
|
|
|
|
|
|
|
|
func ai():
|
|
|
|
|
PresetBulletAI.forward(self , rotation)
|
2026-04-04 08:55:15 +08:00
|
|
|
func succeedToHit(_dmg: float, entity: EntityBase):
|
|
|
|
|
entity.impluse(Vector2.from_angle(rotation) * 250)
|