------------------------------------------------------------------------------------------ Mouseover out of range pointer(Mouseover Out of Range Pointer by Gello)----------------------------------------------------------------------------------------local slowThrottle = 0.50-- Update speed when not over a unit framelocal midThrottle = 0.10-- Update speed while over a unit that is far awaylocal fastThrottle = 0.01-- Update speed while unit is relatively near

-- UnitInRange() is what dims default raid frames; it doesn't precisely align with UnitDistanceSquared()-- so using UnitInRange() for the more-important check if in spell casting rangelocal inRange = UnitInRange(unit)

-- Hide arrow if unit does not have coordinates (not in group, pet, etc), or-- player and unit are same unit, or unit is near (and ShowInRange not set in options)ifnot playerX ornot unitX or UnitIsUnit("player", unit)or inRange then self:Hide() pointer.timer = midThrottlereturnend

local distance = UnitDistanceSquared(unit)

pointer.timer = fastThrottle -- We're going to show an arrow, speed up updates

SlashCmdList.BROKENSPELLS = function()
for spell in pairs(T.aoespam) do
local name = GetSpellInfo(spell)
if not name then
print("|cffff0000WARNING: spell ID ["..tostring(spell).."] no longer exists! Report this to Shestak.|r")
end
end
for spell in pairs(T.DiminishingSpells) do
local name = GetSpellInfo(spell)
if not name then
print("|cffff0000WARNING: spell ID ["..tostring(spell).."] no longer exists! Report this to Shestak.|r")
end
end
end
SLASH_BROKENSPELLS1 = "/brokenspells"