Fix damage calculation, add damage printout