Skip to content

Commit

Permalink
Update Mapper.js
Browse files Browse the repository at this point in the history
Needs further testing
  • Loading branch information
yayza committed Apr 12, 2021
1 parent e4b9b2b commit 6a3d248
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kolbot/libs/bots/Mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6a3d248

Please sign in to comment.