Rickster 6 Posted August 25, 2017 Share Posted August 25, 2017 I have been trying to find a way to interrupt my focus target if they try to cast a certain spell by name? Thanks! Link to comment Share on other sites More sharing options...
Mykoplazma 24 Posted August 25, 2017 Share Posted August 25, 2017 f = 0; spellName = "Flash Heal"; spell,_,_,_,_,_,_,_,_ = UnitCastingInfo("Focus"); if spell == spellName then f = 1 end; You must add that to Lua script part and check the f value. If f = 1 then you can cast the interrupt spell ( in that case that will interrupt Flash Heal) If you need to interrupt anything that is interruptable or interrupt a list of spells or interrupt channeling well check the lua documentation ;) 435 1 Link to comment Share on other sites More sharing options...
Rickster 6 Posted August 26, 2017 Author Share Posted August 26, 2017 Thanks, working it now! Link to comment Share on other sites More sharing options...
Rickster 6 Posted August 26, 2017 Author Share Posted August 26, 2017 That worked great thanks a million. Link to comment Share on other sites More sharing options...
nuxx 0 Posted April 23, 2018 Share Posted April 23, 2018 Not working for me. :S Can someone post me a xml with this? :'D Link to comment Share on other sites More sharing options...
MEMphis0327 0 Posted April 23, 2018 Share Posted April 23, 2018 whats lua to interrupt channeled spells? Atm is interrups any channel spell instantly Link to comment Share on other sites More sharing options...
skeletonboy360 5 Posted April 23, 2018 Share Posted April 23, 2018 http://wowprogramming.com/docs/api/UnitChannelInfo.html Link to comment 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