hero.moveXY(12, 34)
hero.say(“Wake up”)
while True:
item = hero.findNearestItem()
arrow = hero.findNearest(hero.findEnemyMissiles())
if item:
hero.moveXY(item.pos.x, item.pos.y)
else:
pet.catch(arrow)
hero.moveXY(12, 34)
hero.say(“Wake up”)
while True:
item = hero.findNearestItem()
arrow = hero.findNearest(hero.findEnemyMissiles())
if item:
hero.moveXY(item.pos.x, item.pos.y)
else:
pet.catch(arrow)
hey alex welcome to the forum
use the </> button to format your code correctly formatted code will look like this
and can you go in depth a little? whats the problem here with your code?
the code went when it was rewritten
im sorry i dont quite understand