Jump to content

Interrupt focus target if casting spell by name?


Rickster
 Share

Recommended Posts

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 ;)

Link to comment
Share on other sites

  • 7 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...