Can you send a screenshot of when you die?
did u want me to go to these cordinates: hero.moveXY(68, 78)
Yes. I did.
is this the code I should do?
Hm. Youâre going to want to bash, attack, cleave, electrocute and idk what abilities pets have.
@hellodaddy ummm so when I went to the cordinates u said for me to go I did not attack archers
Oh. And make your code so you donât attack sand yaks.
I already dont attack yaksâŚ
I didnât either until the tail end. You should put it in there just in case.
(post deleted by author)
âŚthatâs still cheating since youâre doing most of the work
yea i agree I will stick with my code
Could you please delete that?
hero.moveXY(68, 78)
while True:
enemy = hero.findNearestEnemy()
if enemy.type == "archer" and enemy.type != yak:
if hero.isReady("cleave"):
hero.cleave(enemy)
else:
hero.attack(enemy)
hero.bash(enemy)
hero.electrocute(enemy)
My code
Maybe to attack the archers you need to move farther, like maybe 80, 79?
My code makes it so that I attack the archers, so I am confused on that end.
it says yak is undefined


