I have used the same code repeatedly and I beat it once but when I hit submit again it failed and I do not know what the problem is please help!
while True:
hero.shield()
enemy = hero.findNearestEnemy()
hero.shield()
hero.moveXY(19, 69)
if enemy:
hero.attack(enemy)
hero.cleave(enemy)
hero.attack(enemy)
hero.moveXY(19, 69)
AnSeDra
2
Try to create a topic about it. Only not create topics when you need help on a replayable level or a multiplayer, ok @Zoe_Witte?
Andrei
Mumbo_6
4
Try to define flags and delete the if-statement and all thats inside it. instead put:
flag = hero.findFlag()
if flag:
hero.pickUpFlag(flag)
Next try and delete all the “moveXY” statements.
You also have to get a wristwatch to tell your hero:
if hero.isReady("cleave"):
hero.cleave(enemy)
Mumbo_6
1 Like