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

[SOLVED] Clash of Clones - Desert Clones

My hero keeps dying.

2 Likes

Maybe get better equipment? What are you using currently?

2 Likes

2 Likes

I apologize for the delay. I’m trying to find my account so I can test it out, but I have no idea how I can find it.

1 Like

Try if hero.isReady("chain-lightning") and put else after chain lightning because if its not ready it can use hero.attack()

3 Likes

Do you have the invisibility ring @Monsty?

Andrei

3 Likes

It doesn’t matter what equipment your using because the clones have the same equipments as you you can’t change it. :smile:

2 Likes

But better equipment for yourself means better equipment for your clone, and what follows is that your clone would last longer because it would be stronger.

1 Like

Yeah, I know so I tried playing with the weakest boots and the first sword you get in the game

1 Like

Try and defeat the archers and then the your hero clone. Your army will take care of the rest.

Elijah

Also, and I’ve said this before in another Clash of Clones post, you don’t need to check if the enemy isn’t a sand yak; they are too far away. That is… if you keep the fight in the middle.

Swap this for:

if (enemy) {
    if (hero.isReady("bash")) {
        hero.bash(enemy);
    }
    else {
        hero.attack(enemy)

Don’t bother trying to cast chain-lightning - you are using a warrior so you can’t cast it anyway.

Hope this helps

Elijah

Sorry Falcon, but that is not correct. The chain-lightning is an aspect of the ring, not a skill/ability, so any character can cast it.

Also, the ‘!= sand-yak’ clause can be important…what if there are no enemy, for the split second between waves?

2 Likes

I wish I had known this before :rofl:

This never happened to me though

Yes, it is quite unlikely, but, it can happen…besides, it doesn’t hurt to leave in the != clause…just in case :stuck_out_tongue_winking_eye:

2 Likes

Thank you @dedreous.

1 Like

I wonder if @Monsty has solved it yet…

And, I apologize too…it’s the gloves that grant the ability, not a ring. Sorry! Thanks Andrei for keeping me straight!

2 Likes

Oof. Sorry I forgot to tell everyone that I finished it 7 hours ago

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.