For me, units that take the most casualties heal the most. Or maybe the ratio is simply constant.