Ejemplo n.º 1
0
        // Duels at Card Studio
        public static void duelAtCardStudio()
        {
            Thread.Sleep(2000);
            Cursor.Position = startPoint;
            setCursorLocation(0, 30);
            clickerLoop(11, 25, 0);
            Thread.Sleep(2000);

            int[] setCursorX    = { 0, 0, 0, 0, 0 };
            int[] setCursorY    = { -80, -50, -60, -19, 0 };
            int[] numberOfLoops = { 8, 10, 8, 10, 12 };
            int[] shiftX        = { -25, 25, -25, 25, -25 };
            int[] shiftY        = { 0, 0, 0, 0, 0 };
            int   i             = 0;

            while (!waitAndCheckForDuelButton() && i < 5)
            {
                setCursorLocation(setCursorX[i], setCursorY[i]);
                clickerLoop(numberOfLoops[i], shiftX[i], shiftY[i]);
                i++;
            }

            Thread.Sleep(1000);
            Dueling.locateDuelButton();
        }
Ejemplo n.º 2
0
        // Duels at gate location
        public static void duelAtGate()
        {
            setAnchorImage("bmpPanel2");
            setInitialLocation(-175, -140);
            clickerLoop(6, 50, 0);
            Thread.Sleep(2000);

            setCursorLocation(0, -80);
            clickerLoop(5, -30, 0);

            int[] setCursorX    = { 0, 0, 0, 0 };
            int[] setCursorY    = { -100, -70, -50, 0 };
            int[] numberOfLoops = { 10, 10, 10, 2 };
            int[] shiftX        = { 25, -25, 12, 0 };
            int[] shiftY        = { 0, 0, 0, 0 };
            int   i             = 0;

            while (!waitAndCheckForDuelButton() && i < 3)
            {
                setCursorLocation(setCursorX[i], setCursorY[i]);
                clickerLoop(numberOfLoops[i], shiftX[i], shiftY[i]);
                i++;
            }

            Dueling.locateDuelButton();
        }
Ejemplo n.º 3
0
        // Duels at PVP Arena location
        public static void duelAtPVPArena()
        {
            Thread.Sleep(2000);
            Cursor.Position = startPoint;
            clickerLoop(12, 25, 0);
            Thread.Sleep(2000);

            int[] setCursorX    = { 0, 0, 0, 0 };
            int[] setCursorY    = { -80, -80, -70, -5 };
            int[] numberOfLoops = { 4, 4, 8, 8 };
            int[] shiftX        = { -50, 55, -25, 20 };
            int[] shiftY        = { 0, 0, 0, 0 };
            int   i             = 0;

            while (!waitAndCheckForDuelButton() && i < 4)
            {
                setCursorLocation(setCursorX[i], setCursorY[i]);
                clickerLoop(numberOfLoops[i], shiftX[i], shiftY[i]);
                i++;
            }

            Dueling.locateDuelButton();
        }
Ejemplo n.º 4
0
        // Duels at Shop location
        public static void duelAtShop()
        {
            Thread.Sleep(2000);
            Cursor.Position = startPoint;
            setCursorLocation(0, -50);
            clickerLoop(5, 25, 0);
            Thread.Sleep(2000);

            int[] setCursorX    = { 160, 0, 0, 0, 0 };
            int[] setCursorY    = { 0, -80, -70, -240, 400 };
            int[] numberOfLoops = { 3, 10, 10, 11, 1 };
            int[] shiftX        = { 15, -32, 42, -40, 0 };
            int[] shiftY        = { 0, 0, 0, 0, 0 };
            int   i             = 0;

            while (!waitAndCheckForDuelButton() && i < 5)
            {
                setCursorLocation(setCursorX[i], setCursorY[i]);
                clickerLoop(numberOfLoops[i], shiftX[i], shiftY[i]);
                i++;
            }

            Dueling.locateDuelButton();
        }