Added some debug lines into the player damage function.