Signal Corpse HELP (ASAP)


#1

Naima_Fausto18m
Hey! I’m having trouble passing Signal Corpse. I was wondering if you would be able help me figure out whats wrong.
Heres my code:

loop:
green = self.findFlag(“green”)
black = self.findFlag(“black”)
nearest = self.findNearestEnemy()

if green:
self.pickUpFlag(green)
# Cleave!
elif green and self.isReady(“cleave”):
ready = hero.isReady(“cleave”)
self.cleave(enemy)
elif nearest and self.distanceTo(nearest) < 10:
# Attack!
enemy = hero.findNearestEnemy()
self.attack(enemy)
pass


#3

Please only post your requests in one place. You will not receive assistance faster by double posting.


#4

Sorry, my bad. I’ll keep that in mind for next time.