I haven't tested your bot because I'm at school right now, so I don't know how your NPC logic and so on works, but...
If you have a constant time to kill one NPC (for ex. 2 sec.) I think it'd be better to check if the NPC is still alive and when if the target is dead, click another NPC. Just an idea :)
If you have a constant time to kill one NPC (for ex. 2 sec.) I think it'd be better to check if the NPC is still alive and when if the target is dead, click another NPC. Just an idea :)