Hello, I am having trouble in KinthGard Dungeon 39/45. It is just so confusing. I’ll paste the code.
Change the names of variables to make gems appear!
Change the name of variable “enemy1” to “gemDude1”.
enemy1 = hero.findNearestEnemy()
hero.attack(enemy1)
hero.attack(enemy1)
Change the name of variable “enemy2” to “gemDude2”.
enemy2 = hero.findNearestEnemy()
hero.attack(enemy2)
hero.attack(enemy2)
Collect the gems after changing the variables.
hero.moveUp()
pet.fetch(“gemDude1”)
Here is the code.
Thank you!