The notorious summits gate

I have tried so many ideas for summits gate and I am beggining to find a sulution. I am using Omarn with his new Brew ability because the heals are value. I need to make destroying the cheif and warlocks more efficient. Here is my code:

while True:
    
    enemy = hero.findNearestEnemy()
    while hero.gold>hero.costOf("soldier"):
        hero.summon("soldier")
    flag = hero.findFlag("green")
    if flag:
        hero.move(flag.pos)
    elif hero.canCast("summon-undead"):
        hero.cast("summon-undead")
    elif hero.isReady("throw") and hero.distanceTo(enemy.pos) < hero.throwRange:
        hero.throw(enemy)
    elif hero.canCast('raise-dead'):
        hero.cast("raise-dead")
        
    elif hero.isReady("brew"):
        hero.brew("heal")
    elif enemy:
                
        hero.attack(enemy)


Try to command your friends. (all friends) It’s really difficult level.

1 Like

Got it, I might also make a string for summoning

it should be(if you want to heal your hero)

   elif hero.isReady("brew"):
        hero.brew("heal")

also you could try to “mass” summon your troops. What I did was take out everything by myself without summoning then once I was ready to fight the final boss I summoned A LOT of archers with around 200+ gold

hmmm i dought that he can get strong enough armor by then