![codecombat cs3 answers level 19 codecombat cs3 answers level 19](https://user-images.githubusercontent.com/48499063/54492791-4b819580-48a8-11e9-9acd-cd24e55c1d05.png)
Sorry for the false alarm but I still hope we can get the list of pet’s methods. If our glasses doesn’t have findNearestItem/findNearestEnemy, than the pet can’t use it too, am I correct?Įdit: I reload the level and it works with the default code (pet.findNearestByType). That’s what worked in my python (sorry if I posted the answer, feel free delete it) redacted, please don’t post solutions Brigi September 4. while True: enemy hero.findNearestEnemy () friend hero.findNearest (hero. In the previous levels I think it depends on our glasses. Can anybody please explain why my code doesn’t work for this level. Var soldier = pet.findNearest(hero.findByType("soldier")) Īlso, it would be helpful if we can get the list of methods our pet can do. var archer = pet.findNearest(hero.findByType("archer")) Pet should find the health potion (type is 'potion'): potion pet.findNearestByType('potion') and fetch it: pet.fetch(potion) Pet should find the gold key (type is 'gold-key'): item pet.findNearestByType. You get Programaticon 3 in an early desert level. also bladee but you are in the forest since you don’t have Proglamation III finish the forest then complete the level. After that doesn’t work, I switch to hero.findByType. I don’t know what is wrong with my code, I am on the level Mushroom Noise in the desert. milton.jinich January 13, 2021, 7:25pm 12. I’m not sure if pet also has findByType method. Var soldier = pet.findNearest(pet.findByType("soldier"))
![codecombat cs3 answers level 19 codecombat cs3 answers level 19](https://i.ytimg.com/vi/V05C9nmxcIY/maxresdefault.jpg)
Var soldier = pet.findNearestByType("soldier") īut the pet doesn’t seem to recognize this method (findNearestByType)? So I changed it to: var archer = pet.findNearest(pet.findByType("archer")) Then, based on what the comments say, find Agata’s number and say it to Agata. In the default code, I have: var archer = pet.findNearestByType("archer") That is why use a variable akihikokahyaba.So right above hero.moveXY(30,39) stament, should be something like this variable erz / 4.Then you move to Simonyi and say the variable. Hi welcome to the CodeCombat discourse.I presume you’re being killed by the lightning I can’t actually test it unfortunately because when I try to change the programming language it automatically reloads the level. It won’t go left or right, even after I use pet.moveXY.