March 31, 20179 yr Screecher Spirits (3520) in feralas Its like splitting in 3 parts - and im not sure how to get around it. first you have to kill the vale screecher 5307 then you have to use item Yeh'kinya's Bramble : 10699 on the dead cropse then you have to talk to the spirit. And you have to do that 3 times
March 31, 20179 yr C# coding if sprit near talk to spirit and blacklist for 5min if dead corpse near use item and blacklist for 5min if mob near attack else loop hotspots
March 31, 20179 yr Author 1 hour ago, camelot10 said: C# coding if sprit near talk to spirit and blacklist for 5min if dead corpse near use item and blacklist for 5min if mob near attack else loop hotspots Do you have an example code for this :-) ?
March 31, 20179 yr var corpse = wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit() .Where(u => u != null && u.IsValid && u.IsDead && u.Entry == <YOUR MOB ID> && !wManager.wManagerSetting.IsBlackListed(u.Guid) ) .OrderBy(u => u.Position.GetDistance) .FirstOrDefault(); if (corpse != null) { ItemsManager.UseItem(itemID); Usefuls.WaitIsCasting(); Interact.InteractGameObject(corpse.GetBaseAddress); //blacklist corpse return true; } corspse ^ mob var mob = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(mobs)); if (mob != null && mob.IsAlive && mob.IsAttackable && mob.IsValid) { Interact.InteractGameObject(mob.GetBaseAddress); Fight.StartFight(mob.Guid); return true; } npc var npc = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(npcId)); if (npc != null && npc.IsValid && npc.IsAlive) { if (GoToTask.ToPositionAndIntecractWithNpc(npc.position, npc.Entry, <GOSSIP NUMBER, MOSTLY 1>)) { //blacklist mob } } blacklist wManager.wManagerSetting.AddBlackList(mobEntry.Guid, 5 * 60 * 1000); //5 min blacklist move on loop MovementManager.GoLoop(hotspots);
Create an account or sign in to comment