June 9, 20178 yr Is it possible add something like that? I wanna Prowl with my druid after each fight so its not that easy too see that he is a Bot. But the problem is that he use Prowl before looting -.- I need something like a Delay condition to solve that issue. Anyone got an idea?
June 9, 20178 yr set condition "Me in move" = true for prowl. agree this feature would be nice though
June 9, 20178 yr Hello, you could try this as c# code in your fightclass: if (wManager.Statistics.RunningTimeInSec() < 2) { robotManager.Helpful.Logging.Write("Register OnLootSuccessful"); wManager.Events.LootingEvents.OnLootSuccessful += delegate(WoWUnit unit) { //task because with thread sleep you would block the thread Task.Run(async delegate { await System.Threading.Tasks.Task.Delay(2000);//your delay wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA("Prowl"); }); }; System.Threading.Thread.Sleep(2000);//to initialize event only once on startup } So it will cast prowl everytime after you have looted the unit. You can also extend it to do something other after loot if you want. But i think @eeny's solution would also work with less effort :) just want to show the other possibility.
Create an account or sign in to comment