Minor changes on unit damage formula.