December 28, 20178 yr Hello, I'm on a quest where you have to use an object on a mob, but only from a certain percentage. The problem is that the mob die too fast. Is there a code to force the bot to just auto attack to do the minimum damage to use this code then: Thread t = new Thread(() => { uint itemId = 62899; int questId = 28000; while (robotManager.Products.Products.IsStarted) { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { if (!Quest.HasQuest(questId)) break; if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive && ObjectManager.Target.HealthPercent <= 25) { ItemsManager.UseItem(itemId); } } Thread.Sleep(500); } }); t.Start(); Thanks in advance <3
December 28, 20178 yr Author 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
December 28, 20178 yr Author it's this quest: http://www.wowhead.com/quest=26720/a-curse-we-cannot-lift
December 28, 20178 yr Use !ObjectManager.Me.IsStunned to make sure you're not stunned before using the item
Create an account or sign in to comment