1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/BroomBoomerang.gd
T

9 lines
197 B
GDScript
Raw 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()