I'm having more Trouble


#1

In the level Munchkin Swarm I tried everything I knew and nothing worked. I looked at the previous levels and found nothing useful. I even copy pasted some commands and it still did not work…


#2

Is it just me or is this really difficult?


#3

Post your code + screenshot please


#4
loop:
    enemy = self.findNearestEnemy()
    self.attack("Chest")
    distance = self.distanceTo(enemy.pos) 
    if distance < 10:
       self.cleave(enemy)

#5

I suggest you to check the previous lvl again , focus more and you’ll figure it out i don’t want to give you codes every-time that would makes u stuck more and more ,


#6

Actually I got it. Just missed a space in self.cleave in the if statement.