wr拾取指定目标代码怎么写
大佬们 求助 WR拾取指定目标代码怎么写:handshake:handshake本帖最后由 zhjlihui 于 2026-1-23 08:30 PM 编辑
var _units = new List<wManager.Wow.ObjectManager.WoWUnit>();
var tUnit = wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitLootable();
foreach (var woWUnit in tUnit)
{
if (woWUnit.Entry == 怪物ID)
{
_units.Add(woWUnit);
}
}
if (_units.Count > 0)
{
wManager.Wow.Bot.Tasks.LootingTask.Pulse(_units);
}
我一直这么写着用的。你可以试一下,我是172版WR。(如果掉落中《装绑物品》较多的情况下 ,后面的有可能会拾取不到,目前还没找到方法处理。)
页:
[1]