Lurkers: self.findEnemy not working

On the source code in “Lurkers”, the program is highlighting this line:

# findEnemies returns a list of all your enemies.
# Only attack shamans. Don't attack yaks!

enemies = self.findEnemies()

and telling me that the function is undefined. In the comments, it says that findEnemies is a new function, and
enemies = self.findEnemies() is part of the source code. Anybody else having similar problems? I looked at the items but couldn’t find one which allowed me to use self.findEnemies().

findEnemies() is on glasses, I believe any pair after the first pair, but not positive.

I just checked and it’s not on any of the Wooden Glasses. It only starts with the 100 gem Mahogany Glasses, which are currently not flagged as needed for the level (with a buy prompt).

1 Like

I’ve just noted that Mahogany Glasses or better are required for this and later levels–thanks for spotting that one.

No prob. As you might be able to tell, I love this project!

I won’t Lurkers let pass code