So I need some help on the level “Signal Corpse”. Here is my code but, I don’t think it’s the problem.
I’m able to defeat all of the ogres except for the two large ones. It seems that I need many hits to kill them yet they only need about 4 to kill me, making it impossible to win. Any help?
while True:
green = hero.findFlag("green")
black = hero.findFlag("black")
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:
hero.attack(nearest)
pass
Code looks good; sounds like you just need more armor to do the level, since you can’t take on medium ogres yet. If you pick up a good breastplate, shield, or helmet to get more hit points, you may have more luck.
Thanks guys. I figured it out. I thought that in the equipment menu it is required to have a premium account to use the items that cost gems. I also didn’t realize I had gems.
You have two conditional statements involving a green flag and none for the black flag. The central idea of this level is to have your hero do two different things depending upon which flag you use. The instructions are in the comments.
how could we use gems to buy equipment with gem. i got some from the first part but then i don’t know, i think i forgot how to buy them.I tried like a hundred times.