As Moutere said, gravity only affects the horizontal component of the projectiles travel. If you are shooting 100m at 45 degrees up or down hill then the horizontal component is cos(45) * 100 = 70.7m, so it has the same drop as a 70m horizontal shot. This is an approximation as the projectile still slows as if it is travelling the 100m plus the extra deceleration of the vertical component of gravity sin(45) * 9.8 ms-2, but these tend to be negligible over the distances we are dealing with.
Bookmarks