# Follow the lightstone to navigate the traps.
while True:
item = hero.findNearestItem()
if item:
# Store the item's position in a new variable using item.pos:
item.pos
# Store the X and Y coordinates using pos.x and pos.y:
x = item.pos.x
y = item.pos.y
# Move to the coordinates using moveXY() and the X and Y variables:
hero.moveXY(x, y)
pass
Projektuję strony www Lublin na Joomla i WordPress