Hi! I’m stuck on Clash of Clones!!! This is my code and what my hero has. Help please???
// You'll need good strategy and good equipment to win this one!
loop {
var enemy = this.findNearest(this.findEnemies());
var flag = this.findFlag();
if (flag) {
this.pickUpFlag(flag);
}
else if (enemy.type != "sand-yak") {
if (this.isReady("bash")) {
this.bash(enemy);
}
else {
}
}
}
Well… I tried using fire-traps but that’s obviously restricted. Also, I noticed that it’s best if I un-equip my sword so I can render the clone useless. My problem is that, besides moving around, I don’t know what to do. My code just moves my character around and my archers suck. I don’t know how I can get around w/o my sword. I tried luring the ogres into the yaks but that didn’t work… Help??
Are you talking to Debash or to the moderator that edited their post?
I personally don’t like deleting others’ posts when they contain more than just code. It would be odd if your post just vanished without explanation, and it is faster for me to just edit than delete + send PM.