Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

[SOLVED] Clash of clones assistance

#1

I’ve tried many different strategies, but i just can’t seem to get past!
here is my code…

# You'll need good strategy to win this one!
# Your clone will have the same equipment you have!
# But, they're not very skilled at using special powers.
while True:
    enemy = hero.findNearestEnemy()
    distance = self.distanceTo(enemy)
    flag = hero.findFlag()
    if enemy.type != "sand-yak" and self.isReady("bash"):
        hero.bash(enemy)
    elif enemy.type != "sand-yak":
        hero.attack(enemy)
    if self.health <= self.maxHealth/2.2:
        flag = hero.findFlag()
        hero.shield()
        if flag:
            hero.jumpTo(flag)
            hero.pickUpFlag(flag)
            hero.shield()
        elif distance < 10 and enemy.type != "sand-yak":
            hero.shield()
            if hero.isReady("bash") and enemy.type != "sand-yak" and enemy.health > 0:
                hero.bash(enemy)
            elif enemy.type != "sand-yak" and enemy.health > 0:
                hero.attack(enemy)
            

and here is my gear


PLZ HELP!

#2

Why don’t you put your rings?
They’re surprisingly powerful. I can see you have the toughening one.
:lion: :lion: :lion:

#3

I have tried with all of my rings but i still lost

#4

Ok, try going for the archers first. I see you’ve got jump that should help you get to them.
:lion: :lion: :lion:

#5

I keep jumping over but i get third-parties attacking me once i’m back there!
edit: i’ve changed the health when i jump and my units get through, but i still die and end up failing

#6

I just equipped the simple Katana, and i made it a little further but i still lost.
GRRR! this is ridiculous!

#7

You should try to equipt the worst sword and the best shield so you can go in the middle and take all the damage while your archers kill everything. Also before doing this you should cast chain-lightning at the archers. (You have to get the emporers gloves to cast chain-lightning)
I hope this helped
Good luck! :slight_smile:

#8

I tried that first, didn’t work

#9

I did it! i don’t understand how but i did! I was just tweaking my health to trigger the jump to the flag. and then, suddenly i got the right seed, and… well, boom! it worked
edit: if i try the same thing with a different seed, it doesn’t work again. so…, it might just be pure luck. :grin:

3 Likes
#10

Cool! Great Job! :slight_smile: