Jump to content

Tell bot to attack specific target?


Ordush
 Share

Recommended Posts

Using the quester, is there any way i can tell the bot to attack a specific target. Since  ID's are based on any mob of that kind, I'd like to tell it to attack certain mobs instead.
Perhaps based on the vector of that mob?

Link to comment
Share on other sites

3 hours ago, Droidz said:

Hello, if target don't move, you can try to put small search distance

The problem is that the search range is circular, and if it gets close enough to the target that it only reaches that, it will body pull a lot of shit. ?

Link to comment
Share on other sites

if the mob is agressiv and don't move you can try to use quest type "FollowPath" (and go to mob position).

You can also try  to filter mobs to run code like:

        wManager.Events.FightEvents.OnFightStart += delegate(WoWUnit unit, CancelEventArgs cancelable)
        {
            if (unit.Entry != 1234 || !Quest.HasQuest(1234) || unit.InCombatWithMe)
                return;
            if (unit.Guid != 12345645678)
            {
                wManager.wManagerSetting.AddBlackList(unit.Guid, 1000 * 60, true);
                cancelable.Cancel = true;
            }
        };

(complete the questid, entry and mob GUID, GUID is normally the same on all server and unique)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...