The issue is the way you are removing the value from the velocity. you are removing the value 100 from each axis when you only want to remove it on the Z-axis. here is an example of what you need to do:
I hope this helps!