Esempio n. 1
0
    while not (WIN or DEAD):

        if first_guesses:

            #verifies there's no possible target
            ai.nextTarget(False)
            if DEBUG:
                wait()

            if len(ai.targets) == 0:

                ai.early_guesses(first_guesses)
                if DEBUG:
                    wait()

                ai.clickTargets()
                if DEBUG:
                    wait()

            #if there is a target that's not random, disable early guessing
            else:
                ai.clickTargets()
                first_guesses = False
                if DEBUG:
                    wait()

        else:
            #get next target
            ai.nextTarget()
            if DEBUG:
                wait()