Changed type from double to float on some class variables to make the damage per second  work