Jump to content

Droidz

Administrators
  • Posts

    12581
  • Joined

  • Last visited

Bug Report Comments posted by Droidz

  1.         Thread Water = new Thread(() =>
            {
                Logging.Write("[Water]: Water Search Initialized");
                while (Conditions.ProductIsStarted)
                {
                    try
                    {
                        if (!Conditions.ProductInPause && ObjectManager.Me.BreathTimerLeft <= 2000)
                        {
                            var unit = ObjectManager.GetWoWUnitAttackables().Where(x => x.Position.DistanceTo(ObjectManager.Me.Position) <= 30);
                            foreach (var u in unit)
                            {
                                if (!ObjectManager.BlackListGetUnitAttackPlayerGuidTime.ContainsKey(u.Guid))
                                    ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(u.Guid, DateTime.Now + TimeSpan.FromMinutes(5));
                            }
                            wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.JUMP, 5000);
    
                        }
                    }
                    catch (Exception e)
                    {
                        Logging.WriteError("[Water] ERROR: " + e);
                    }
                    Thread.Sleep(12000);
                }
                Logging.Write("[Water]: Water Search Disposed");
            });
            Water.Start();

     

×
×
  • Create New...