# Remember: don't attack type "burl"!
if enemy.type is "burl":
self.say("I'm not attacking that Burl!")
# The "type" property tells you what kind of creature it is.
if enemy.type is "munchkin":
self.attack(enemy)
# Use "if" to attack a "thrower".
if enemy.type is "thrower":
self.attack(enemy)
# If it's an "ogre", run away to the village
if enemy.type is "ogre":
self.moveXY(41, 37)
Yup… if you are still stuck, you might want to review some earlier levels… let me take a look for a good one. We try to get folks to figure it out on their own rather than giving it to them on here… one min.
enemy = self.findNearestEnemy()
if "type burl":
self.say("I'm not attacking that Burl!")
if "type munchkin":
self.attack(enemy)
if "type thrower":
self.attack(enemy)
if "type ogre":
self.moveXY(41, 37)