I’m having trouble with Ogre Encampment with the attack part.
My coding looks like this:
# If there is an enemy, attack it. # Otherwise, attack the chest! loop: # If there is an "ogre". attack it: self.attack(self.findNearestEnemy()) # Otherwise, attack the chest! self.attack("Chest")
I’m running in Python.
Any thoughts or suggestions?