hello matenia and thank you for the speed
therefore, it will give:
Thread t = new Thread(() =>
{
uint itemId = 60206;
int questId = 26720;
while (robotManager.Products.Products.IsStarted)
{
if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause)
{
if (!Quest.HasQuest(questId))
break;
if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive && ObjectManager.Target.HealthPercent <= 50)
{
Fight.StopFight();
ItemsManager.UseItem(itemId);
}
}
Thread.Sleep(10000);
}
});
t.Start();
the problem is that the mob stun me, then the bot go to the next step