local InterruptSpells = {
118, -- Polymorph
61305, -- Polymorph: Black Cat
28272, -- Polymorph: Pig
61721, -- Polymorph: Rabbit
61780, -- Polymorph: Turkey
28271, -- Polymorph: Turtle
20066, -- Repantance
115750 -- Blinding Light
}
if PQR_SpellAvailable(129176) then
for i=1, #cTar do
if UnitExists(cTar[i]) then
local spellName, _, _, _, _, endCast, _, _, canInterrupt = UnitCastingInfo(cTar[i])
for _, v in ipairs(InterruptSpells) do
if GetSpellInfo(v) == spellName and canInterrupt == false then
if ((endCast/1000) - GetTime()) < 0.3 then
SpellStopCasting()
SpellStopCasting()
SpellStopCasting()
CastSpellByName(GetSpellInfo(129176),cTar[i])
end
end
end
end
end
end