Summit's Gate Phyton

How can l get healed?
Well l haven’t wanted to type so many codes so l just used flag for my characters movements it’s simple but l need to get healed l have like 3300 health and 270 for each attack by sword and l am no wizard but l wanna know if there is anything l could do to get healed well here is my avatar oh and l have 12.000 gem if l need to buy anything to complete this level.

while True:
    if hero.time > 10:
        if > hero.costOf("soldier"):
    enemy = hero.findNearest(hero.findEnemies())
    if enemy:
        soldiers = hero.findFriends()
        soldierIndex = 0
        soldier = soldiers[soldierIndex]
        while soldierIndex < len(soldiers):
            soldier = soldiers[soldierIndex]
            hero.command(soldier, "attack", enemy)
            soldierIndex +=1
    enemy = hero.findNearestEnemy()
    green = hero.findFlag("green")
    nearest = hero.findNearestEnemy()
    if green:
    elif nearest and hero.distanceTo(nearest) < 25:
        # Attack!

Hi, you already have a topic for the same level. Creating more then one topic for the same level creates confusion. @Deadpool198, can you please merge this topic?

A post was merged into an existing topic: Summit’s Gate [Last Level] Phyton