move to them and then cleave there
what is the code for that?
hero.moveXY(x, y)
hero.cleave(enemy)
I will not give you the location or were you put it in a loop it seems like you are capable of that
im trying to do something like
hero.move pos. (“archer”)
(i dont know if i did that right)
i only tried this one because every time i tried it had way too many issues.
hero.moveXY(83, 68)
while True:
enemy = hero.findNearestEnemy()
if enemy:
if hero.isReady("cleave") and enemy.type == "archer":
hero.cleave(enemy)
else:
hero.shield()```
You have a ton of solutions and very good explanations how to do this level and almost all levels here in the forum. Simply use search…
here is the code you asked it is not proven to work
I had to change a few things with where the hero moved after he was low on health and it worked, thanks for the help.
your welcome glad to help