i know this is gonna sound like a stupid question but can you give some advice or some help with my code i am working on for my quester? i am trying to black list all mobs in a area for 5 mins
Thread Water = new Thread(() =>
{
Logging.Write("[Water]: Water Search Initialized");
List<WoWUnit> attackers = ObjectManager.GetUnitAttackPlayer();
while (Conditions.ProductIsStarted || Conditions.ProductInPause)
{
var unit = ObjectManager.GetWoWUnitAttackables().Where(x => x.Position.DistanceTo(ObjectManager.Me.Position) <= 30);
if (ObjectManager.Me.BreathTimerLeft <= 2000)
{
ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(unit.ToArray(WoWUnit), DateTime.Now + TimeSpan.FromMinutes(5));
wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.JUMP, 5000);
}
Thread.Sleep(12000);
}
Logging.Write("[Water]: Water Search Disposed");
});
Water.Start();