and i know the attackspd can be increased etc. but I think you need to determine how many hits it takes to autokill a rock, x.
then round x up Floor(x)/attackspeed how long it takes to kill one rock.
call it y, then (coin per rock)/y would be the real g/s