Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Detecting NPC respawn

Joined
Nov 2, 2018
Messages
1
Hello,

is there any way to efficiently detect when a mob respawn after it gets killed? Currently I do it like

Code:
Execution.delayUntil { Npcs.newQuery() ... != null }

It works, but not fast enough to beat other players to mobs on spots like Hill Giants.
 
Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,422
Don't delay, just let the bot loop. If you delay you'll have to add the time delay for validating all tasks/leafs before getting to this targetting task again.
 
Top