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

10 lines
227 B
GDScript
Raw Normal View History

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