Implement calculate damage