In the 18th century, artillery could carry far beyond the range it could be effectively aimed. But a century later, the effective range of both artillery and muskets was much greater. Rifling and better projectiles made a huge difference whever terrain was so favorable such as a Cemetery Ridge.