Jump to content

Set Loot Radius


Recommended Posts

Hello, Is there a option to loot only corpses in "X" radius ? Grinding in group and each char in my group runs to loot the corpse, when nearest bot can do it, so need to lower loot radius for that

Link to comment
Share on other sites

Hello, try code like:

        wManager.Events.LootingEvents.OnLootingPulse += delegate(WoWUnit unit, CancelEventArgs cancelable)
            {
                if (unit.IsValid && unit.GetDistance > 90)
                {
                    wManager.wManagerSetting.AddBlackList(unit.Guid, 30 * 1000);
                    cancelable.Cancel = true;
                }
            };

Line 3 replace 90 by your max distance

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...