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?