Bug on the level munchkin-harvest

Dear sirs,

On the level munchkin-harvest the function “cleave” does not work.

I tried this:

while(true) {
var enemy = hero.findNearestEnemy();
if(enemy){
if (hero.isReady(“cleave”)) {
hero.cleave(enemy);
}
}
else {
hero.attack(enemy);
}
}

This

while(true) {
var enemy = hero.findNearestEnemy();
if (hero.isReady(“cleave”)) {
hero.cleave(enemy);
}
else {
hero.attack(enemy);
}
}

And this

while(true) {
var enemy = hero.findNearestEnemy();
if(enemy){
if (hero.isReady(“cleave”)) {
hero.cleave(enemy);
}
else {
hero.attack(enemy);
}
}
}

Always Hero only attack the enemy without “cleave”.

Please assist to resolve this problem.

You already have a topic for this level. It’s not good if there’s more then one. We’ll help you on your first topic.
@Deadpool198, could you close this?

2 Likes

Ok. I thought there is a bug and created a new topic

If it is a bug, some of us can change it from “level help” to “bug”.

2 Likes