Проблема с уровнем "Как не назови"

Добрый день.
Не понимаю как герою пройти через забор за самоцветом, он везде в него упирается.

send us the link @deynnis

1 Like

Вот перевод того, что @milton.jinich сказал присылайте нам ссылку @deynnis

1 Like

can you translate I don’t speak Russian

1 Like

yes i can.

1 Like

okay good so what was he saying and were is the link to the level so I can help him

1 Like

https://codecombat.com/play/level/by-any-other-name?
Я не знаю английский.
Герою мешает забор.
Он не может забрать самоцвет.
A fence interferes with the hero.
He cannot take the stone.

you have to give them a different name by 300 = hero.findNearestEnemy()

hero.attack(300)
understand

1 Like

I understand how to attack enemy.
enemy1 = hero.findNearestEnemy()
hero.attack(enemy1)
hero.attack(enemy1)

gemDude2 = hero.findNearestEnemy()
hero.attack(gemDude2)
hero.attack(gemDude2)
I can’t get over the fence.
I can’t throw the second stone.
Sorry for bad english

Change hero.attack(enemy1) to hero.attack(gemDude1).

3 Likes

did you understand @deynnis

1 Like

Спасибо за исправления!
Все заработало.
Thanks for correction!
It all worked!

You’re welcome!(I need to type 20 letters)

2 Likes

make sure to click the tik box that says solution next to the comment that answered or helped you pass the level. убедитесь в том, чтобы нажать на поле tik, что говорит решение рядом с комментарием, который ответил или помог вам пройти уровень.

tbh i just use Google tranlate lol i dont know Russian either.