Stranded in the dunes please help


#1

my code is wrong

i dont know why it keeps doing this ive done this for other levels


#2

Check if enemy exists and his type is not “sand-yak”.


#3

im still having trouble i made it to the skeleton king but my hero wont attack him


#5

@Luke10 i already got it done


#6

How was I supposed to know? On your last post you said:


#7

sorry i meant to say but thanks anyways but friend wouldn’t stop trying to have me help him


#8

Oh ok. Thanks @George_Huchins_Hun


#9

do you think you can help me on clash of clones


#10

Sure whats wrong? Post your code…


#11
self.moveXY(74, 69)
self.moveXY(58,68)
loop:
    enemy=self.findEnemies()
    if self.isReady("bash"):
        self.bash(self.findNearest(enemy))
    else:
        self.shield()
    if self.health < 100:
        self.moveXY(62, 68)
        break

my hero keeps dying i dont know why i have the best armor and stuff on that i can


#12

Was that supposed to be there?


#13

no thank you i really aprecciate your help thank


#14

Did it work?..I hope I was any help


#15

yes it did but i needed to switch up my code a bit


#16

Nice…glad to hear it!:slight_smile::grinning:


#17

are you suscribed or not?


#18

Yes I am…Why?:confused:


#19

just wondering cause your pretty good at the gme


#20

Oh thank you!:grinning:


#21

else if not elof