Im unable to catch up to Pender Spellbane, I am using Fine Boots which give +2 m/s, and though I am catching up, I run out of time before my hero reaches her. Im not using speed ring. Some help please?
Code:
while True:
# Pender is the only friend here, so she's always the nearest.
pender = hero.findNearest(hero.findFriends())
if pender:
# moveXY() will move to where Pender is,
# but she'll have moved away by the time you get there.
hero.moveXY(pender.pos.x, pender.pos.y)
# move() only moves one step at a time,
# so you can use it to track your target.
#hero.move(pender.pos)
hero.move(pender.pos)
if hero.isReady("dash"):
hero.dash(pender.pos)
You just want to move to pender’s position, you don’t need to moveXY or dash.
1 Like
thanks it worked.
1 Like