Hii, I’m currently stuck of the restless dead level and I don’t know where to summon the undeads, I always run out of time is it something wrong with my code or I’m I not summoning the right thing? Heres the code.
# This level is supposed to be VERY hard! You may need a great strategy and or gear to complete it! # Find and defeat the yeti then gather its essence for the ritual. # You might want to gather the coins the yeti leaves behind, you'll need them to summon an army # Stand at the summoning stone (red x) to begin summoning # Now you just have to survive the undead hoard def summonSoldiers(): if hero.gold >= hero.costOf("soldier"): hero.summon("soldier") def commandSoldiers(): enemy = hero.findNearestEnemy() soldiers = hero.findByType("soldier") for index in range(len(soldiers)): nearestEnemy = soldiers[index].findNearestEnemy() hero.command(soldiers[index], "attack", nearestEnemy) def pickUpNearestCoin(): coin = hero.findNearestItem() if coin: hero.move(coin.pos) while True: hero.moveXY(17, 46) enemy = hero.findNearestEnemy() while True: pickUpNearestCoin() summonSoldiers() commandSoldiers() if enemy: if hero.canCast("summon-burl"): hero.cast("summon-burl") if hero.canCast("summon-undead"): hero.cast("summon-undead") if hero.canCast("fear", enemy): hero.cast("fear", enemy) if hero.canCast("raise-dead"): corposes = hero.findCorpses() if corposes > 5: hero.cast("raise-dead")
And heres the image location for
And this happens when I run of time…