1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 16:01:53 +08:00
Files

10 lines
279 B
GDScript
Raw Permalink Normal View History

extends BulletBase
class_name Diamond
const traceTime = 1500
func ai():
PresetBulletAI.forward(self , rotation)
if timeLived() < traceTime && is_instance_valid(launcher.currentFocusedBoss):
PresetBulletAI.trace(self , launcher.currentFocusedBoss.getTrackingAnchor(), 0.05)