[Closed], see: 'Level help please on Backwoods Standoff python'

here is my code

# Munchkins are attacking!
# The swarms will come at regular intervals.
# Whenever you can, cleave to clear the mass of enemies.

while True:
    enemy = hero.findNearestEnemy()
    # Use an if-statement with isReady to check "cleave":
    if enemy:
        ready = hero.isReady("cleave")
        # Cleave!
        hero.cleave(enemy)
    # Else, if cleave is not ready:
    hero.attack(enemy)
    hero.attack(enemy)
        # Attack the nearest ogre!
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)        

:vulcan_salute: :vulcan_salute: :vulcan_salute: :vulcan_salute: :nail_care: :nail_care: :nail_care:

Hi @ZAX155, please don’t post a topic looking for help in two locations, it won’t get you help any faster and it clutters the forum. Stick to the first topic (Level help please on Backwoods Standoff python)
Thanks
Danny