October 16, 20178 yr I know the bot tries to find a safe area to ressurect in when in ghost form. Can anyone shed some light as to how this is handled in C#? I would like to use it for when Vanishing.
October 5, 20187 yr That is actually very very easy to make. I just did the same thing with my backtracking for my hunter. PM me on discord. ?
October 6, 20187 yr internal void VanishFunction() { Vector newPos = new Vector(Some X/Y Pos based on tar); if (ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(newPos) <= 30 && !u.InCombat && u.IsAttackable) == 0) CastVanish else find new vector pos and check that } if(Conditions set by you) VanishFunction This is the gist of it.
Create an account or sign in to comment