Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Need some help Summit's Gate (I am new to this and am not very good)

#21

All of the sudden the code stops working. I have no clue why.

#22

Also, I don’t have the subscription, and only 28 gems.

#23

I see now hmmm yes. :laughing:

#24
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 :wink:

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)
#25

I don’t think so. Still doesn’t work. So what about it? I need to take on the catapults.

#26

30%20AM
As you see

#27

Does this code that you just posted work? (Mine is not like that :worried:)

#28

I don’t know you try :wink:

#29

Because I don’t know where you place your flags.

#30

No doesn’t work. No indentation on front line.

#31

#32

Exactly what happened when I tested that. ( + i also appreciate you helping!)

#33

Psst! you there???

#34

44%20AM

#35

:laughing:What is a frien?

#36

I don’t have that in my code. :confounded::confounded::confounded::confounded::confounded::confounded:

#37

I’ll check on this later. Bye.

#38

#39

What is that on the bottom :wink:

#40

Ok. I’m back. Sorry for the rude “bye” . I didn’t mean to be disrespectful. Thank you for helping!!!