All of the sudden the code stops working. I have no clue why.
Also, I don’t have the subscription, and only 28 gems.
I see now hmmm yes.
for friend in friends:
hero.command(friend, "attack", friend.findNearest(enemies))
hero.moveXY(93, 56)
hero.wait(0.7)
hero.moveXY(93, 35)
hero.wait(0.9)
hero.moveXY(85, 7)
hero.wait(0.7)
hero.moveXY(57, 29)
Shouldn’t that be like this
for friend in friends:
hero.command(friend, "attack", friend.findNearest(enemies))
hero.moveXY(93, 56)
hero.wait(0.7)
hero.moveXY(93, 35)
hero.wait(0.9)
hero.moveXY(85, 7)
hero.wait(0.7)
hero.moveXY(57, 29)
I don’t think so. Still doesn’t work. So what about it? I need to take on the catapults.
As you see
Does this code that you just posted work? (Mine is not like that )
I don’t know you try
Because I don’t know where you place your flags.
No doesn’t work. No indentation on front line.
Exactly what happened when I tested that. ( + i also appreciate you helping!)
Psst! you there???
What is a frien?
I don’t have that in my code.
I’ll check on this later. Bye.
What is that on the bottom
Ok. I’m back. Sorry for the rude “bye” . I didn’t mean to be disrespectful. Thank you for helping!!!