Salted earth tryed lots of times cant complete

https://codecombat.com/play/level/salted-earth?

Welcome to codecombat discourse @DestroyerQuang!
In order for us to help you with the level, we require you to post your code, explain what you want, and tell us any errors that show up when executing the code. Be sure to read this topic before you post your code.