I need help with the signal corpse level. I’ve got the code, but my character doesn’t cleave when I place a black flag down. here is my code. if any one can tell me where iv’e gone wrong i would appreciate it.
green = self.findFlag(“green”)
black = self.findFlag(“black”)
nearest = self.findNearestEnemy()
if green: self.pickUpFlag(green) elif black and self.isReady("cleave"): self.pickUpFlag(black) # Cleave!
elif nearest and self.distanceTo(nearest) < 10: