Help doom glade (SOLVED)

can anyone help me here is my code

while True:
    flag = hero.findFlag()
    enemy = hero.findNearestEnemy()
    
    if flag:
        # Pick up the flag.
        hero.pickUpFlag(flag)
    elif enemy:
        # Only attack if the enemy distance is < 20 meters
        if hero.distanceTo(enemy) < 20:
            hero.attack(enemy)

idk how to defeat it i mean its just too many any ideas or

I don’t undertand could you please be more specific, when do you mean by

Could you please clairfy your problem.

its just
1: is my code right
2:can it be finished with that code

ow yeah and
3:do i need like OP gears?

You need to explain what goes wrong with your code so we can assist you step by step,

Also whats the level?

Never mind :dizzy_face::hammer:

@Chaboi_3000 i dont think my code is wrong but um it is too many can u give me a hint or something

Please could you list your heroes and your best equipment for them because my advice might differ depending on what equipment you have. And because you’re a subscriber you should be able to use hattori, amara and hushbaum; so that could change it up a bit as well.
Thanks :lion: :lion: :lion:

Doom glade is in sub only that means you are sub which means you have Amara Arrowhead so you can get crossbow/rifle and run around and shoot with flags. I used Omarn with the burl and flags but IDK if you have it so yeah.:rice_ball::rice_ball::rice_ball::rice_ball::rice_ball::rice_ball::rice_ball::rice_ball::rice_ball:

yesh i have them and thx for da tip ill try but i am bad with range soldiers sooo anyway thx for da tip

OMG thx i defeat them with amara and for the weapon i use lightning stick thxxx :slight_smile:

Happy to help. :slightly_smiling_face: