cast damage as an int