Stuck on level Signal Corpse


#1

I keep dying on Signal Corpse, I think my code is fine - I just can’t kill all of the enemies before the time runs out. I am using cleave as often as possible and have the best gear I can have for free mode at this stage.

My code is:

while True:
green = hero.findFlag(“green”)
black = hero.findFlag("")
nearest = hero.findNearestEnemy()

if green:
    hero.pickUpFlag(green)
elif black and hero.isReady("cleave"):
    hero.pickUpFlag(black)
    hero.cleave(nearest)
elif nearest and hero.distanceTo(nearest) < 10:
    # Attack!
    hero.attack(nearest)
    pass

Thanks,

Callum


#2

I have findFlag black code correct but it wouldn’t let me post it for some reason


#3

What gear do you have? I think I bought Painted Steel Breastplate, or a new helmet, at this point in order to brute force the level with that same code. Every time I go through the game, I purchase PSB as soon as I can’t get through a level with regular code. It’s the best gem to HP purchase in mid-tier.

Your code looks fine.


#4

Ah ok, think I need to upgrade my gear then! I’ll look for PSB and get that and see if it works


#5

Black needs to be in quotes when you are defining it.


#6

Good eye.
Ducky is correct.