Hey guys I am having trouble on Kithgard Brawl. It says I need to check to see if there is an enemy but as you will see in my code, I have already done that. Some pointers will be appreciated.
while True:
enemy = hero.findNearestEnemy()
if enemy:
if hero.isReady("cleave"):
hero.cleave(enemy)
else:
hero.attack(enemy)