--- in actions put /cancelaura Cat Form
local InterruptSpells = { 2637,1513 }
if UnitPower("player") > 5
and UnitExists("focus") then
local spellName, _, _, _, _, endCast, _, _, canInterrupt = UnitCastingInfo("focus")
for _, v in ipairs(InterruptSpells) do
if GetSpellInfo(v) == spellName and canInterrupt == false then
if ((endCast/1000) - GetTime()) < 0.5 then
return true
end
end
end
end
--cyclone (needs LOS check and range i guess, will bug out if not)
if UnitExists("focus")
and UnitBuffID("player",69369) then
CastSpellByName(GetSpellInfo(33786)"focus")
end