So I have been stuck on the lurkers level for to many hours to count. I have tried and lost so much code tinkering with it. So I would love to catch some advice and figure out where my code goes wrong.
enemies = self.findEnemies() enemyIndex = 0 "#"Wrap this section in a while loop to iterate over all enemies. while enemyIndex < 3: enemy = enemies[enemyIndex] if enemy.type == 'shaman': while enemy.health > 0: self.attack(enemy) else enemyIndex +=1
Can I get some advice friends?