1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 04:07:13 +08:00
Files

9 lines
197 B
GDScript
Raw Permalink Normal View History

extends BulletBase
class_name BroomBoomerangBullet
func ai():
PresetBulletAI.forward(self , rotation)
speed -= 0.5
if speed < 0 && position.distance_to(launcher.position) < 100:
tryDestroy()