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

[SOVED] Help with Clash of Clones Level

#1
// 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) {
var enemy = hero.findNearestEnemy();
if (hero.isReady("bash")) {
hero.bash(enemy);
}
else {
hero.shield(enemy);
}
if (hero.isReady("cleave")) {
    hero.cleave(enemy);
}
else {
    hero.attack(enemy);
}
}

I’ve been stuck on this level for a while now and cannot pass it. The code will work but the cleave doesn’t seem to kill enemies. I am using a longsword. Thanks in advance.

#2

Please send a screenshot of your level and a description of any errors that pop up.

Also is your hero doing any damage to the ogres?

#3

The cleave only has a damage of 15. It is hitting the enemy, just not taking more than 15 points off of his health.

image

#4

There are no errors and the hero kills one ogre but takes a lot of damage causing the others to kill the hero.

#5

Something to think about… You don’t seem to have any special gear (rings or the emperor’s glove) that really help on this level. Regular attacks don’t quite complete this level since your enemy has the same gear and there are more enemies.

Another option, is trying another hero that might have some special abilities if you have the gems to get them.

Clash Of Clones Python Help Please
#6

Thank you for the tip. It worked and I’m passed now :smile:

2 Likes