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

Infinite Inferno Cup Strategy Chat

Got a question >>>> How do you get 3 champions in one lane?

xy coordinates, then normal attack enemy code

Yes, just remember that when you are coding you are always on the left side, but when the code is actually fighting you can be on either side.

I mean, would it be Ok go give an example of the code for this?

oh shoot I totally messed my code up by not thinking about that.arggg.
@thebagel at this moment in time I do not have reliable code to show you.

K, it’s fine. Thanks for trying tho

My code is a bit more complex, but one easy way could be to put something like this in your champions’ function before the while loop (this is in Python):

# Move to centre lane from other lanes.
if lane!=1:
    # Red starts from the left. Blue from the right.
    if hero.color=="red":
        champion.moveXY(12, 40)
    else:
        champion.moveXY(88, 40)

I haven’t tried this exact code, but I had something similar previously.

1 Like

I tried to play on my phone, but its so hard

2 Likes

How do you summon champions?

Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!

You just set the champion type

1 Like

Oh sorry I meant how to make the champion attack the enemy

1 Like

Oh. I’m not really sure, sorry. You might wanna ask @Deadpool198

1 Like

i dont know how to start the infinite inferno

Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!

You can use this link:

codecombat.com/play/ladder/infinite-inferno?

Hello I am back. I am going back into coding.

1 Like

Velcome back, @milton.jinich!

1 Like

Yay! Are you back for real?

hope so.

1 Like

I will try to get on here as much as I can.

1 Like