public override void Run() { if (curHealthPercent == (int)ObjectManager.TargetObject.healthPercent) { if (BlackListTimer.IsReady()) { BlackListCounter = BlackListCounter + 1; if (BlackListCounter == 2) { GrindbotContainer.blacklistGuid.Add(ObjectManager.TargetObject.guid); BlackListCounter = 0; BlackListTimer.Reset(); Calls.SetTarget(0); } else { GrindbotContainer.IsStuck = true; } } } else { curHealthPercent = (int)ObjectManager.TargetObject.healthPercent; BlackListTimer.Reset(); BlackListCounter = 0; } if (ObjectManager.TargetObject.healthPercent == 100) { int curHealth = (int)ObjectManager.TargetObject.healthPercent; } GrindbotFightMovement.Handle(); if (ObjectManager.IsTargetOnMe()) { SpellManager.CheckSpells(); CCManager.FightPulse(); Ingame.CastFinal(); GrindbotContainer.AfterFight = true; } else { UInt64 guid = 0x0; try { guid = ObjectManager.AggroMobs()[0]; } catch { } Calls.SetTarget(guid); } }