Jump to content

Loot only one Mob/boss ?


Bugreporter

Recommended Posts

I have a solution.

 

LootMobs= false and I use the Loot-A-Rang at the last Boss.

 

This work fine, but I need a "Is Complete Condition". Simplest is maybe "Loot A Range ist not usable" (3 Sec cd). Best will be "npc 45152" is empty.

Link to comment
Share on other sites

Try to add this step (just after kill step):

Action type: RunCode

Parameter:

var _units = new List<wManager.Wow.ObjectManager.WoWUnit>();
var tUnit = wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitLootable();
foreach (var woWUnit in tUnit)
{
    if (!wManager.wManagerSetting.IsBlackListedAllConditions(woWUnit) && woWUnit.Entry == 12345)
        _units.Add(woWUnit);
}
if (_units.Count > 0)
    wManager.Wow.Bot.Tasks.LootingTask.Pulse(_units);

Replace 12345 by npc id.

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