- Thread Author
- #1
It's definitely NOT just a missclick because the bot will continue to target the player multiple times before moving on to the actual target npc
Anyone have a suggestion on how i can stop it doing this, even tried checking that the level was below 30 but its trying to attack any player, even those over 30
Code:
Npc npcm = Npcs.newQuery().names("Minotaur").results().nearestTo(Players.getLocal());
Code:
if (npcm.getLevel() < 30) {
if (npcm.interact("Attack")) {
Execution.delayUntil(() -> npcm.getTarget() != null, 400, 1300);
}
}
Anyone have a suggestion on how i can stop it doing this, even tried checking that the level was below 30 but its trying to attack any player, even those over 30