diff --git a/kolbot/libs/bots/Mapper.js b/kolbot/libs/bots/Mapper.js index 60f3f00..35a5425 100644 --- a/kolbot/libs/bots/Mapper.js +++ b/kolbot/libs/bots/Mapper.js @@ -264,9 +264,9 @@ function Mapper() { bossPreset = [746, 750, 755, 800, 809, 826, 861, 870, 879, 882, 883, 884]; boss = bossPreset.find( unit => getPresetUnit(me.area, 1, unit)); - while (getDistance(me, getPresetUnit(me.area, 1, boss)) > 20){ - Pather.moveToPreset(me.area, 1, boss, 0, 0, true, false); - }; + + Pather.moveToPreset(me.area, 1, boss, 0, 0, true, false); + Attack.clear(30, 0, boss);