Can someone please give me the answers of Kithgard dungeon 42/48

Can someone please send me the answers of Kithgard dungeon 42/48.
I have been stuck the game for 3 days. :frowning:

First off, @willingtolearn, I love the name, and welcome to the discourse!

Secondly, we can’t just send the answers. We like to promote a learning environment here at CodeCombat, and sending the asnwers doesn’t quite foster the learning of computer programming as leaving little hints.

Maybe if you could describe the problem, I, or any other members of the discourse can help you. If you could send a screen shot, and format your code using the buttons in the dialogue box, that would be a huge help to us and yourself!

4 Likes

Good morning LIam

Many thanks for your email.

Below are the screenshot and codes.

hero.moveUp(2)
hero.moveRight(3)
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveUp(3)
while True:
hero.moveRight()

No sure why the hero can’t move up.

Many thanks for your assistance.

Cara

hmm, try putting another hero.moveUp() after the hero.moveUp(3)





|

  • |

Good morning AllAnybody know why the hero was killed by the skeleton?

Below are my codes.

hero.moveUp(2)
hero.moveRight(3)
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveUp(3)
hero.moveUp(2)
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveRight()
hero.moveRight()
hero.moveRight()
hero.moveRight()
hero.moveUp()
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)

Many thanks

Oh, the skeleton is neutral, you shouldn’t attack it

Neutral enemies are colored green and will not attack you unless you provoke them

Good afternoon

Thank you for your assistance.

So what is wrong with my below codes

hero.moveUp(2)
hero.moveRight(3)
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveUp(3)
hero.moveUp()
hero.moveUp()
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveRight()
hero.moveRight()
hero.moveRight()
hero.moveDown()
hero.moveDown()
hero.moveDown()
hero.moveRight(2)
hero.moveRight()
hero.moveRight()

Thank you very much.

Fire-walls kill you instantly, not to mention

By the way, you can format your code with </> button, put your code in triple backtick marks. I did it for you this time.

hero.moveUp(2)
hero.moveRight(3)
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveUp(3)
hero.moveUp()
hero.moveUp()
enemy = hero.findNearestEnemy()
hero.attack(enemy)
hero.attack(enemy)
hero.moveRight()
hero.moveRight()
hero.moveRight()
hero.moveDown()
hero.moveDown()
hero.moveDown()
hero.moveRight(2)
hero.moveRight()
hero.moveRight()

Try going another direction and kill that munchkin maybe?

Have you tried using a ranger with “The Shredder” weapon or any other fast weapon? That’s how i got through.

Wait they kill you instanly? I walked straight through it! I guess that’s a bug?

Shredder has only 15 range and it’s slow. I prefer gift of the trees in most cases, just add 3000 gems and you can get it, also, arrow-shooting has movement-prediction built in, and it has 32 range and scattershot.

You can’t even GET The Shredder in Kithgard unless you did Backwoods… And Rangers cost a lot, so again, can’t get one until Backwoods…

Shredder actually has infinite range, you just need to know how to use it

Try going using the path below??

Shoot at your pet :slight_smile: I know

Discs are thangs that are team-based, so you can even attack friendly units without taking damage. Same goes for arrows.

No not at your pet… -_-

Fire using throwPos

Ok, got it. I didn’t know that you can throw at throwPos. Before I always thought you need a target to throw at.

The level terrain is generated randomly, so the solution is different for different players.

Also, we DO NOT post solutions here, it ruins the purpose to learn and is against the rules. If you aren’t familiar to the rules of the forum, go to here: Discourse Rules

This topic is already past 25 days from the last post, you shouldn’t revive it, would you mind delete the post you have sent?

Thank you.

1 Like