[SOLVED] Diamond Dozen warrior won't go after highest valued coin

Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks! (Yay, I beat @enPointe77 to it :D)
bestValue = bestItem.value; here you need to set it to valueOverDistance()
Also, if it still doesn’t work with that, I will help after my class. :grin:

3 Likes