How do you defeat clash of clones?


Please give us your code.


The enemy hero will have the same equipment at yours so the idea is to equip a low power sword and win by having a better strategy.

A very powerful sword will kill every one in one hit, but with a low power sword the time it takes to kill an enemy is greater than the time it takes to walk to it

In the level there are two types of troops:
Soldiers: 200 Health, 4 DPS
Archers: 30 Health, 26 DPS

Any idea now ?


I recommend not using the sword and attack method and rather use the bash method.


Good idea also, the clone does not use abilities so in that case the enemy hero will do 0 damage.


That didn’t really help. Here is the code I used:

enemy = self.findNearest(self.findEnemies())
if enemy:
if self.isReady(“bash”):
self.say(“come at me!!!”)


Did you remember to indent by four spaces in your loops?


yeah of course I did. it just didn’t show up


Nearest enemy (as in self.findNearest(self.findEnemies()) ) will not work much

Also, if you don’t have a sword, attack will probably mess up your code


Hmm, use weapons with bash, power up. Can I see what you are equipped with?
Also, I suggest you remove the
self.say(“come at me!!!”)


i just did not equip a sword and stayed in the middle while shielding so i acted as a meat shield


Mr.Imperial_Soldier your way did not work.


This tactic will not defeat the map, but only assist in defeating the map.


Just be a wizard and spam your spells onto the blue team


Maybe, but the blue team has the ability to do that as well, therefore making it not that creative


Well when I did it, they did nothing so…


Only shielding will not work, as you yourself will need to fight as well.


here is my code i have bee stuck for ages pls help:
while True:
enemyIndex = 0
enemies = self.findEnemies()
while enemyIndex < len(enemies) and > self.maxHealth / 4:
enemy = enemies[enemyIndex]
enemyIndex += 1
if enemy.type != ‘sand-yak’:
while > 0:
if self.isReady(“electrocute”):
if self.isReady(“bash”):
if self.isReady(“cleave”):
if <= self.maxHealth / 4:
enemy = enemies[enemyIndex]
enemyIndex += 1
while>0 :

        if distance < 4:
            if self.isReady("cleave"):


please do not necrompost, this is a dead topic, don’t revive it.


Again, it’s fine as long as it is in the same topic


Please read this topics before posting your code, it requires little effort.