Error in SoloLeveling (misc.js #753) Misc.click: Third arg must be a Unit. (Area: 74, Ping:0, Game: )
Sed93 opened this issue · comments
bot has this loop on a paladin. Kill countess then goes back to ac2 tries to kill summoner then he will crash mid way to summoner repeat.
In \libs\common\Misc.JS at line 753
case 3:
if (typeof (x) !== "object") {
throw new Error("Misc.click: Third arg must be a Unit.");
}
me.blockMouse = true;
clickMap(button, shift, x);
delay(20);
clickMap(button + 2, shift, x);
me.blockMouse = false;
break;
Change lines 759 and 761
759 clickMap(button, shift, x, y);
761 clickMap(button + 2, shift, x, y);