any body can tell me what minimum point of health needed to pass this level?
i think my codes is ok!
enemy = hero.findNearestEnemy()
while True:
if enemy:
if hero.isReady("cleave"):
hero.cleave(enemy)
else:
hero.attack(enemy)
# Else, if cle
thank
I think your equipment is good try submitting again because it might be bad seed or needs better code.
1 Like
Try few times still failed. 
What world is it in perhaps I can help
Ok I will check if I can help
So what language of code are u using
Can u tell me what code ur using
So first Put ur code in a while true loop then inside loop define ur enemy and if your hero is ready cleave else attack
Unlike ur code try defining enemy in the while true loop
you need to be clever in this level, i beat it with only 39 hp
enemy = hero.findNearestEnemy()
while True:
if enemy:
if hero.isReady("cleave"):
hero.cleave(enemy)
else:
hero.attack(enemy)
# Else, if cletype or paste code here
enemy = hero.findNearestEnemy #put it inside the while loop
while True:
target = hero.findNearestEnemy()
if target:
if (hero.isReady("cleave")):
hero.cleave(target)
else:
hero.shield()
u can use target or enemy