The Bash 'em All level requires the use of bash. My shield has a 6 second cycle period. In order to “Bash 'em All”, I had to wait 6 seconds between attacks.
I set up the following loop, and it worked. Is there a better solution?
while enemyIndex < len(enemies): enemy = enemies[enemyIndex] if self.isReady("bash"): self.bash(enemy) enemyIndex += 1 else: enemyIndex = enemyIndex self.moveXY(40, 33)