camelot10 155 Posted September 1, 2016 Share Posted September 1, 2016 i know its very common reason to get banned is spell interrupted right after mob start casting so, thats why i need some random delay for interrruption Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/ Share on other sites More sharing options...
Zan 99 Posted September 1, 2016 Share Posted September 1, 2016 You could do a Cast time left and choose something like less than 1000 ms. It'll interrupt right before the end of their cast. Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17529 Share on other sites More sharing options...
camelot10 155 Posted September 1, 2016 Author Share Posted September 1, 2016 and how i can do that? Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17531 Share on other sites More sharing options...
Arcangelo 105 Posted September 3, 2016 Share Posted September 3, 2016 Like this - then its random above 1 sec Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17599 Share on other sites More sharing options...
Zan 99 Posted September 4, 2016 Share Posted September 4, 2016 Value is in milliseconds so 1 second would be 1000. Also it should be less than or equal to. This will interrupt it towards the end of the cast. I use 1000 when it's off global cool down. Otherwise I use 1500 or 1250 if it's not. Also add the spell condition referring to is casting and interruptable. That way you don't waste an interrupt. I'm sorry if I don't remember the exact name of the conditions. I'm not able to access WoW at this very moment to bring it up :) Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17603 Share on other sites More sharing options...
Arcangelo 105 Posted September 4, 2016 Share Posted September 4, 2016 37 minutes ago, Zan said: Value is in milliseconds so 1 second would be 1000. Also it should be less than or equal to. This will interrupt it towards the end of the cast. I use 1000 when it's off global cool down. Otherwise I use 1500 or 1250 if it's not. Also add the spell condition referring to is casting and interruptable. That way you don't waste an interrupt. I'm sorry if I don't remember the exact name of the conditions. I'm not able to access WoW at this very moment to bring it up :) he can play around it as he likes, im aware of it is milisecounds, he wanted it random and depending on what the npc are casting it can take everything from 1 sec to 5. and with that setting i had there, it just interupted it at random before the spell was casted :) - to look more human, i know its not the most efficent way to do it, but i try to make my rotations most possible human like :) Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17605 Share on other sites More sharing options...
Zan 99 Posted September 4, 2016 Share Posted September 4, 2016 That can work randomly if the interrupt is not on global cool down. From my experience humans normally interrupt towards the end. That's the PVP'er in me. But that is your opinion and i respect it. Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17606 Share on other sites More sharing options...
Droidz 2738 Posted September 4, 2016 Share Posted September 4, 2016 Hello, you can try to use this c# code: System.Threading.Thread.Sleep(robotManager.Helpful.Others.Random(0, wManager.Wow.ObjectManager.ObjectManager.Target.CastingTimeLeft - 350)); wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA("Spell Name In English"); with spell option "Not Spell, Is C# code" (and custom condition to check if your spell is ready and good distance and ...) Link to comment https://wrobot.eu/forums/topic/3749-how-to-add-random-delay-to-cast-interrupt/#findComment-17612 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now