extends BulletBase class_name BengbengBullet func spawn(): hitbox.disabled = true func ai(): texture.global_rotation = 0 PresetBulletAI.forward(self , position.angle_to_point(launcher.currentFocusedBoss.position)) if is_instance_valid(launcher.currentFocusedBoss): if launcher.currentFocusedBoss.position.distance_to(position) < 125 && hitbox.disabled: EffectController.create(ComponentManager.getEffect("NuclearExplosion"), position).shot() hitbox.disabled = false