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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...