added cooldown to prevent projectile spam (#68)