Summit gate help

Welcome to the forum @itik ! :partying_face: This is a friendly place where you can ask help on levels, report bugs, or just chat with other coders! Don’t forget to read the guidelines if you haven’t yet. Have a great time!

Would you please post your code and format it using this button:

type or paste code here
```https://discourse.codecombat.com/t/summit-gate-help/33000

You have to copy your code from the code area and format it as @Aya has shown.
Also welcome! (:

help im stuck at this level

We need your code so we know what’s the problem and try to help you.

3 Likes

Please post your code and format it by typing triple backtick marks

→ ```

→ Your code goes inside the triple-backtick marks, paste your code here.

→ ```

What will be shown:

while True:
    print("My Code is formatted")
2 Likes

i don’t have any -->CODE<–

type or paste code here

aa
``

help(20 crassshhhh)abcbabcbabcbacbabc

Then follow the instructions on the level and try to solve it yourself. We do not provide solutions here.

Or specify the problem you have with it.

oo(20 characters)abcabcbabcabc

im stuck at kelvintaph burgler

Okay. Did you try to follow the instructions?

Yes+yes+yes+yes+yes(20 charss)

type or paste code here
```while True:
    paladins = hero.findByType("paladin")
    friends = hero.findFriends()
    flag = hero.findFlag("green")
    if flag:
        hero.pickUpFlag(flag)
    for friend in friends:
        hero.command(friend, "move", {"x": 12, "y": 57})
        hero.command(friend, "move", {"x": 26, "y": 57})
        hero.command(friend, "move", {"x": 30, "y": 52})
        hero.command(friend, "move", {"x": 54, "y": 50})
        hero.command(friend, "move", {"x": 76, "y": 57})
        hero.command(friend, "move", {"x": 78, "y": 40})
        enemies = hero.findEnemies()
        for enemy in enemies:
            for paladin in paladins:
                if enemy.type =="witch":
                    hero.command(paladin, "attack", enemy)
                if enemy.type =="chieftain":
                    hero.command(friend, "attack", enemy)
                for paladin in paladins:
                    if paladin:
                        if paladin.canCast("heal", paladin):
                            hero.command(paladin, "cast", "heal", friend)

@Anonym (20 charssssssss)

Yes, I’m looking into it.

its not kiling the witch and chieaften