I need held solving summits gate


#1

I am stuck on summits gate and need help


#2

Please type your code. We can’t help you if we don’t know what the problem is! :smile:


#3

Be sure to copy your code from the game and use the </> button or it won’t format properly. There are many people here willing and able to help. If you use the </> button correctly, your code should look like this:

while True:
    enemy = hero.findNearestEnemy()
    if enemy:
        hero.attack(enemy)
    else:
        hero.say("My code is formatted properly")

If it doesn’t look like the code above, you’re doing it wrong and we can’t see the structure of the code to troubleshoot whether or not that is the issue. Use the </> button and help us help you. This works when sending a private message as well. Thank you and welcome to the board.


#4

hero.summon(“soldier”)
enemy = hero.findNearest(hero.findEnemies())
loop:
flag = hero.findFlag(“green”)
warlock =hero.findNearest(hero.findByType(“warlock”))
chief = hero.findNearest(hero.findByType(“chieftain”))
witch = hero.findNearest(hero.findByType(“witch”))
catapult = hero.findNearest(hero.findByType(“catapult”))
paladin = hero.findNearest(hero.findByType(“paladin”))
if hero.canCast(“summon-burl”):
hero.cast(“summon-burl”)

if hero.gold == 25:
    hero.summon("soldier")
if flag:
    hero.pickUpFlag(flag)
if witch:
    hero.attack(witch)
if chief:
    hero.attack(chief)
if warlock:
    hero.attack(warlock)
else:
    if enemy:
        hero.attack(enemy)
    else:
        if hero.health < 3053: 
            hero.command(paladin, "heal", Tharin)
            
        else:
            hero.command(solider, "move", hero.pos)
            hero.command(archer, "move", hero.pos)
            hero.command(solider, "attack", enemy)
            hero.command(archer, "attack", enemy)
            hero.moveXY(93, 33)

#5

Is this all of your code?


#6

yes it is
i am using omarn brewstone


#7

[hero.summon(“soldier”)
enemy = hero.findNearest(hero.findEnemies())
loop:
flag = hero.findFlag(“green”)
warlock =hero.findNearest(hero.findByType(“warlock”))
chief = hero.findNearest(hero.findByType(“chieftain”))
witch = hero.findNearest(hero.findByType(“witch”))
catapult = hero.findNearest(hero.findByType(“catapult”))
paladin = hero.findNearest(hero.findByType(“paladin”))
if hero.canCast(“summon-burl”):
hero.cast(“summon-burl”)

if hero.gold == 25:
    hero.summon("soldier")
if flag:
    hero.pickUpFlag(flag)
if witch:
    hero.attack(witch)
if chief:
    hero.attack(chief)
if warlock:
    hero.attack(warlock)
else:
    if enemy:
        hero.attack(enemy)
    else:
        if hero.health < 3053: 
            hero.command(paladin, "heal", Tharin)
            
        else:
            hero.command(solider, "move", hero.pos)
            hero.command(archer, "move", hero.pos)
            hero.command(solider, "attack", enemy)
            hero.command(archer, "attack", enemy)
            hero.moveXY(93, 33)

#8

I would suggest using a hero with a lot more health, like okar, or Tharin. Make sure to format ALL of your code. What equipment do you have? You are missing a lot of components for this code.


#9

You have to command the soldiers throughout the entire run. I see that you stop commanding them once you get through the doors. Once again, I strongly suggest using another hero with more health.


#10

ok i took out the summon-burl part and am using tharin


#11

How much health does your Tharin have


#12

3503 max armour dies on the tower part


#13

Make sure that you have a good sword and are your soldiers attacking the beam tower also? Why do you die?


#14

i have the sword of the summits guard
i just lose all my health attacking the towers


#15

Maybe use ranged weapons if u are a subscriber.


#16

i you were a subsciber and if you did have all the heroes, i would suggest using Okar, or Nalfar. These are the strongest of their type.


#17

I have one strategy for you that helped me breach the inner gate.

Strategy

Go to the way top and attack the beam tower on the top while out of the bottom one’s reach. Then, kill the bottom one.


#18

And what is a witch?


#19

a type of enemy that “zaps” you


#20

A witch is an enemy which hits you with blob balls which slightly slows you down and casts grow which is slightly stronger than a shamans grow.