-
Member
Does this still work? I would love it if someone could write an updated version of this function!
-
Elite User
Originally Posted by
Tigea
Does this still work? I would love it if someone could write an updated version of this function!
Code:
local PostSpell = 0
function allTheSpells(startID, endID)
for i = startID, endID do
local name, rank, icon, powerCost, isFunnel, powerType, castingTime, minRange, maxRange = GetSpellInfo(i)
PickupSpell(i)
if CursorHasSpell() then
if not IsPassiveSpell(i) then
PlaceAction(1, 1)
if IsSpellKnown(i) and PostSpell ~= i then
ChatFrame1:AddMessage("[" .. i .. "] - " .. (GetSpellLink(i) or "! [" .. name .. "]"))
PostSpell = i
end
ClearCursor()
end
end
end
end
-
Post Thanks / Like - 2 Thanks
-
Active Member
Originally Posted by
Strath2121
Code:
local PostSpell = 0
function allTheSpells(startID, endID)
for i = startID, endID do
local name, rank, icon, powerCost, isFunnel, powerType, castingTime, minRange, maxRange = GetSpellInfo(i)
PickupSpell(i)
if CursorHasSpell() then
if not IsPassiveSpell(i) then
PlaceAction(1, 1)
if IsSpellKnown(i) and PostSpell ~= i then
ChatFrame1:AddMessage("[" .. i .. "] - " .. (GetSpellLink(i) or "! [" .. name .. "]"))
PostSpell = i
end
ClearCursor()
end
end
end
end
Changed this a little bit and made it into an addon:
https://github.com/followingthefasci...ndHiddenSpells
-
Post Thanks / Like - 1 Thanks
vvvat (1 members gave Thanks to jessetooler for this useful post)
-
Elite User
Originally Posted by
jessetooler
unfortunately its pretty useless nowadays