Got only 1 problem, while running through istance I pull some ranged mobs that the bot does ignore, they prevent me to loot the baron at the end
I'd like to cast shadowmeld when I'm at final boss
where and how should I insert it in here?
// move to outside barons house if we can't kill him yet
new Decorator(ret => !CanKillBaron && StyxWoW.Me.Location.Distance(EndPoint) > 10,
new Action(ret => MoveTo(EndPoint))),
// kill baron
new PrioritySelector(ctx => ObjectManager.GetObjectsOfType<WoWUnit>(false, false).FirstOrDefault(e => e.Entry == Baron),
new Decorator(ctx => ctx != null && ((WoWUnit)ctx).IsAlive,
new PrioritySelector(
new Decorator(ctx => StyxWoW.Me.CurrentTargetGuid != ((WoWUnit)ctx).Guid,
new Action(ctx => ((WoWUnit)ctx).Target())),
Combat())),
new Decorator(ctx => ctx != null && ((WoWUnit)ctx).Lootable,
new Action(ctx => ((WoWUnit)ctx).Interact()))),
// failsafe
new Decorator(ret => !CanKillBaron,
new Action(ret => CanKillBaron = true)),
// run back towards start
new Action(ret => MoveTo(StartPoint))
));
}
}
}
}
tnx a lot