I am having trouble with the “Endangered Burl” level. My code that I entered is below. In short, my charcter won’t even move. I’ve been stuck for a few days now. Can anyone help? Many thinks in advance.
loop:
enemy = self.findNearestEnemy()
if enemy:
if enemy.type is 'munchkin':
self.attack(enemy)
elif enemy.type is 'thrower':
self.attack(enemy)
elif enemy.type is 'burl':
self.moveXY(22, 47)
else:
self.say("I'm never going near that thing.")
else:
pass