Level help: Clash of clones (python)

I need help with clash of clones I get past the archers and the ogres but the wizards and clone of me get me


def findArcher(units):
    for unit in units:
        if unit.type == "archer":
            return unit

while True:
    enemies = hero.findEnemies()
    archer = findArcher(enemies)
    if archer:
        hero.attack(archer)
    else:
        enemy = hero.findNearestEnemy()
        hero.attack(enemy)

this is my equipment

Try to use all of your equipment to take down your clone because your clone can only use its sword. Also, you could use a very weak sword and/or armor to make your clone almost useless because it has the same armor and weapon as you. But, if you use weak equipment you have to be careful that the archers won’t kill you.

ok the code works though right?

Remember, to use your other equipment, such as your shield, steel ring, flags, bear trap, and gloves. Also, if you have trouble with the archers, try to use the wolf pet to catch their arrows. Remember I only know the JavaScript coding language.

I don’t have subscription so I cant use the wolf

1 Like

Okay. (ihate20characters)

I still cant figure it out

I’m back to base one nothing I did worked so I m back with the original code

I have an idea, use the worst sword, and a shield that has high bash damage. Then, use the shield to bash your clone and other enemies. When you are waiting to bash again, use your shield to protect yourself.
(your clone basically can’t do any damage because of the bad sword)

so basically just get the best shield that can bash and the worst sword I have and on a loop just bash and block?

1 Like

That’s what I was thinking.

like that?

aaaaaaaaaaaaaaaaaaa

Yes, if you die because you don’t have enough health, try using some armor.

yea

it worked I just need armor

1 Like

nevermind its not working no matter what I do

the archers are still shooting through the blocking so that’s off the table

Try electrocuting the archers with the steel ring.

alright I’ll try that I’ve been using electrocute for the nearest enemy I’ll switch it to archers

I still cant figure it out
auhgghhhhh