I’m stuck at this level, even though I have 730 health and a 28 DPS. Please help.
This is my kinda crappy code:
while True: enemy = hero.findNearestEnemy() flag = hero.findFlag("green") if enemy and hero.isReady("cleave"): hero.cleave(enemy) elif flag: hero.moveXY(19, 69) hero.moveXY(53, 69) elif enemy: hero.attack(enemy)
(Python) (has been edited)
Does anyone have a working code I can use or some help for me?