Esempio n. 1
0
        public void Execute()
        {
            WowUnit randomPartymember = NearPartymembers.ElementAt(Rnd.Next(0, NearPartymembers.Count()));

            if (randomPartymember != null)
            {
                WowInterface.I.HookManager.WowFacePosition(WowInterface.I.ObjectManager.Player, randomPartymember.Position);
            }
        }
Esempio n. 2
0
        public void Execute()
        {
            IWowUnit randomPartymember = NearPartymembers.ElementAt(Rnd.Next(0, NearPartymembers.Count()));

            if (randomPartymember != null)
            {
                Bot.Wow.FacePosition(Bot.Player.BaseAddress, Bot.Player.Position, randomPartymember.Position * ((float)Rnd.NextDouble() / 10.0f));
            }
        }
Esempio n. 3
0
        public void Execute()
        {
            WowUnit randomPartymember = NearPartymembers.ElementAt(Rnd.Next(0, NearPartymembers.Count()));

            if (randomPartymember != null)
            {
                WowInterface.HookManager.WowFacePosition(WowInterface.Player, randomPartymember.Position * ((float)Rnd.NextDouble() / 10.0f));
            }
        }
Esempio n. 4
0
 public bool Enter()
 {
     NearPartymembers = WowInterface.I.ObjectManager.Partymembers.Where(e => e.Guid != WowInterface.I.ObjectManager.PlayerGuid && e.Position.GetDistance(WowInterface.I.ObjectManager.Player.Position) < 16.0f);
     return(NearPartymembers.Any());
 }
Esempio n. 5
0
 public bool Enter()
 {
     NearPartymembers = Bot.Objects.Partymembers.Where(e => e.Guid != Bot.Wow.PlayerGuid && e.Position.GetDistance(Bot.Player.Position) < 16.0f);
     return(NearPartymembers.Any());
 }