Use c_trace when player in air then when player on the ground calcule the deffrent between the first point in air and the point when player on the ground .
The distance between these two point its the damage health.