Fixed projectile precision and added ranged attacks