Sign in to follow this  
Followers 0
FrostLesnar

PQR 3.3.5 Interrupt Spells LUA. Having some trouble.

2 posts in this topic

Last night, I was working on a modified LUA of an interrupt (Such as Maim) to only interrupt certain spells. Here's the LUA.

local Spell,_,_,_,_,_,_,_,_,_ = UnitCastingInfo("target")
if Spell == ("Lesser Healing Wave") 
or Spell == ("Holy Light") 
or Spell == ("Flash of Light") 
or Spell == ("Nourish") 
or Spell == ("Healing Touch") 
or Spell == ("Regrowth") 
or Spell == ("Flash Heal")
or Spell == ("Greater Heal")
or Spell == ("Healing Wave")
or Spell == ("Chain Heal")
or Spell == ("Penance")
or Spell == ("Chaos Bolt")
or Spell == ("Improved Fear")
or Spell == ("Vampiric Touch")
or Spell == ("Lava Burst")
and GetComboPoints("player", "target") < 1
then StopSpellCasting()
 CastSpellByName("Maim")
return true end

It doesn't seem to be working. Any way to correct this?

1 person likes this

Share this post


Link to post
Share on other sites

Never mind, got it to work. Added two PQR abilities to get it to work. If anyone wants it, I can post here.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0