Originally Posted by
xLegendx
Maybe you're missing a spell that the profile is using?
I can confirm there is a lockup, I had to restart wow to fix it.
edit:
So I would do mass exo/exo like this? +rep for you gabbz, thanks for the help 
Going to re-write all of the abilities to use return true
PHP Code:
-- HoW Check
local howSTART, howDURATION = GetSpellCooldown(24275)
if howSTART - GetTime() + howDURATION < 0.1 and howSTART - GetTime() + howDURATION > 0 then
return false
-- Freeze Check
elseif not PQR_UnitFacing("player", "target") then
return false
-- Holy Avenger Check
elseif UnitBuffID("player", 105809) and UnitPower("player", 9) >= 3 then
return false
-- Prevents wrong spell casts
elseif PQR_SpellAvailable(24275) then
return false
end
-- Exorcism
if UnitCanAttack("player","target") and UnitAffectingCombat("player") then
if UnitBuffID("player", 87138) and UnitPower("player", 9) < 5 or UnitPower("player", 9) < 5 then
local massExorcism = { 83107, 122030, 122028, 85703 }
for i=1,#massExorcism do
if HaveGlyph(massExorcism[i]) then
if RangeCheck(85256, "target") then
CastSpellByName("Exorcism", "target")
return true
end
end
end
if RangeCheck(879, "target") then
CastSpellByName(GetSpellInfo(879), "target")
return true
end
end
end
edit:
Originally Posted by
Damned1
It will give you invalid target if you dont have earthliving weapon on your weapon and it tries to unleash elements.
PHP Code:
if UnitBuffID("player", 51730) == nil then return false end
inside unleash elements