Preferential treatment (JAVA)

Hi All,
after killing 4 throwers, I can kill only 13/28 munchkins before I die
and my HP is about 3000 untis o_O,

var enemies = hero.findEnemies();
var enemyIndex = 0;

while(enemyIndex < enemies.length) {
var enemy = enemies[enemyIndex];
if (enemy.type == 'thrower') {
    while (enemy.health > 0) {
        hero.attack(enemy);
    }
}
 enemyIndex += 1;
}



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

using the same method for II cycle gives me only 10 kills


var enemies = hero.findEnemies();
var enemyIndex = 0;

while(enemyIndex < enemies.length) {
var enemy = enemies[enemyIndex];
if (enemy) {
    while (enemy.health > 0) {
        hero.attack(enemy);
    }
}
 enemyIndex += 1;
}

suggestions?

can’t help you on this one :frowning: it requires subscription
ask Chaboi_3000 instead. He has sub.

Try cleaving a thrower if cleave is ready, instead of waiting to use cleave until you’ve taken down all the throwers.

Are you walking very slowly? It may take a less time to dispatch the throwers with a faster hero or speedier gear, if you’re using a slow hero.

You might as well use cleave. It is all I have.

\_(-_-)_/

Tho cleaver never flipping works for me any ways

something is not right :roll_eyes:

Comment out the loop.