September 14, 20178 yr Hello. In first I want to ask C# code for getting attackable and alive nearest mob by Entry. Some like this, but need only alive. wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWUnit(wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry()) And i'm interested in analog "AvoidMobs" from HB. I need fully blacklist one boss so as not touch him in combat and just ignore <QuestsSorted Action="RunCode" NameClass="wManager.wManagerSetting.AddBlackListNpcEntry(111)" /> not work for it and <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = true;" /> not work for it when quest pulse
September 14, 20178 yr WoWUnit unit = ObjectManager.GetObjectWoWUnit().OrderBy(u => u.GetDistance2D).FirstOrDefault(u => u.Entry == 1234 && u.IsAlive); replace 1234 with your id you are looking for. "Not working" means nothing happens or do you get errors? Edited September 14, 20178 yr by iMod
September 14, 20178 yr Author <QuestsSorted Action="RunCode" NameClass="wManager.wManagerSetting.AddBlackListNpcEntry(111)" /> nothing happens "wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = true" - its stop ignore fight when pulse "KillAndLoot" quest and killing all who attacks bot
September 16, 20178 yr Author Wrobot does not have any analogues option for ignoring mobs like <AvoidMobs> in Honorbuddy? Maybe i can add some c# conditions for fight class?
September 18, 20178 yr Author On 16.09.2017 at 3:57 PM, happiness7 said: Wrobot does not have any analogues option for ignoring mobs like <AvoidMobs> in Honorbuddy? Maybe i can add some c# conditions for fight class? bump
Create an account or sign in to comment