Continuing the discussion from Error in level 17 in Backwoods Wald - Munchkin Ernte (Backwoods Forest - Munchkin Harvest):
I cannot seem to figure out what is wrong with my Javascript code. Would love an extra set of eyes to help me advance past this level.
loop {
var enemy = this.findNearestEnemy();
if (this.isReady(“cleave”));
this.cleave(enemy);
else
this.attack(enemy);
}
Please and thank you