Implement most of damage formula calculation. Not working
damage calculation works now