Stage: DESERT Level: LURKERS


#1

Continuing the discussion from [Help with my lurkers code: : -](Help with my lurkers code: : -\):


#2

the code that I used was:

enemy = self.findEnemies()
enemyIndex = 0

loop:
if enemy:
self.moveXY(45, 44)
self.attack(“Ghuk”)
self.attack(“Ghuk”)
self.attack(“Ghuk”)
self.moveXY(43, 23)
self.attack(“Turann”)
self.attack(“Turann”)
self.attack(“Turann”)
self.moveXY(25, 37)
self.attack(“Nazgareth”)
self.attack(“Nazgareth”)
self.attack(“Nazgareth”)


#3

First please read the FAQ on how to post your code correctly


OK other then that I see you are using python so you have to indent your code
Besides this for us to diagnose your problem you have to tell us what the problem is


#4

Yes, you can “use” any code you want but if you want to learn something it would probably be best to write the code the way the level suggests you write it. and if you don’t know what that is, then “reload” so you can get the original comments back, then do as they say…)