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

9 lines
282 B
GDScript
Raw Normal View History

extends BulletBase
@onready var anchor: Node2D = $"%anchor"
func spawn():
for i in BulletBase.generate(ComponentManager.getBullet("PurpleCrystalSmall"), launcher, anchor.global_position, rotation):
i.damage = damage
func ai():
PresetBulletAI.lockLauncher(self, launcher, true)