I am trying to complete the level Kithard Brawl. The goal of the challenge is to survive for 40s. Since I came back to this level and have much better gear I decide to use a simple battle code:
loop:
enemy = self.findNearestEnemy()
if enemy:
if ready = self.isReady(“cleave”):
self.cleave(enemy)
else:
self.attack(enemy)
However when I attempted to run the same code that I use on many levels I get this error message:
Fix Your Code
Possibly a bug with advanced Python feature Parsing
unknown expression type: Variable Declation