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

Clash of Clones (New Version) Help

while True:
    flagGreen = hero.findFlag("green")
    flag = hero.findFlag("violet")
    if flagGreen:
        enemy = hero.findNearestEnemy()
        hero.moveXY(flagGreen.pos.x, flagGreen.pos.y)
        if enemy.type != "sand yak":
    if flag:
        enemy = hero.findNearestEnemy()
        if enemy.type != "sand yak":

This is my code
and this is the items i have.

I really need help.
I know this is a dead topic but I have checked other posts and they still do not work


Hi @Eugene_Ang! Welcome to the forum.
Maybe try using some different tactics rather than just attacking and electrocuting, remember the other team can’t use special abilities. I would recommend using a bash shield (it doesn’t matter if it has less health because your clone will have the same) and the longsword to cleave. Using those abilities (and maybe strategies like… attacking the archers or… sneaking round the side of the battlefield and just attacking the clone?) you should win.
I hope this helps,
:lion: :lion: :lion:


Thanks for your help!