This is the first map I've come across getting constant bugs.
I've been following through with the entire maps then when getting to this one it just bugs.
The pet fetches all of the swords fine but as soon as the potions start spawning it stops fetching and stands still. At this time I get a random error code:
"Fix your code" Line 18: fetch's argument item should have type object, but got null. You must specify an item to fetch." It's highlighting my "enemy" in line 18: hero.attack(enemy).
It's as if it just randomly starts ignoring the "item = hero.findNearestItem()" and no longer does "enemy = hero.findNearestEnemy()", standing still and dieing.
I've also had a lot of problem with him trying to kill the small ogres and running after them instead of the big guys spawning. This results in peasants dieing