private static void castLine(bool fishVariance) { getCoords("15"); int randX = 0; int randY = 0; if (fishVariance) { randX = rand.Next(-VARIANCE, VARIANCE + 1); randY = rand.Next(-VARIANCE, VARIANCE + 1); } BotFunctions.MoveCursor(x + randX, y + randY); Debug.WriteLine("X variance: " + randX + " \nY Variance: " + randY); BotFunctions.DoFishingClick(); }