fireball and projectile launcher code