Here is my code in “Long Road”. It works fine, just that I always seem to run out of time or die. I even have the Enameled Dragonplate, the Enameled Dragonplate helmet, Softened Leather Boots and even Deflector, but I still run out of time, or die before I reach the end. Can anybody help me?
function fetchPotions(event) {
while(true) {
var item = hero.findNearest(hero.findItems());
pet.fetch(item);
break;
}
}
while(true) {
var X = hero.pos.x;
var health = hero.health;
if (health < hero.maxHealth/3) {
fetchPotions(pet.spawn);
}
else {
hero.moveXY(X+5.5555555555, 35);
}
}
I did but I was kind of all over the place before I notice you’ll run into these sort of problems not going in the prompt order lol. Thank you Bryukh! the solution was on one of those levels for anyone having trouble