Hi! I just watched the RAoV movie and I tried to find out more spells that you can cast
Hiddenspell - the new addon! Type "/run allTheSpells(1,100000)" for example!
- Mounts and Critters removed
- Nil names fixed
DOWNLOAD NOW!
thx 2 insys for that tweaking
Heres the Source of the Function:
Code:
function allTheSpells(startID, endID)
for i=startID, endID ,1 do
name, rank, icon, powerCost, isFunnel, powerType, castingTime, minRange, maxRange = GetSpellInfo(i)
PickupSpell(i);
if CursorHasSpell() then
if not(IsPassiveSpell(i)) then
PlaceAction(1,1);
ClearCursor();
local sType, sGlobalID, subType = GetActionInfo(1,1);
if (IsUsableAction(1,1) and sGlobalID == i) then
if not(IsSpellKnown(i)) then
for x=1, GetNumCompanions("CRITTER"),1 do
creatureID, creatureName, spellID= GetCompanionInfo("CRITTER", x)
if spellID == i then
PostSpell = 1; break;
end
end
for x=1, GetNumCompanions("MOUNT"),1 do
creatureID, creatureName, spellID= GetCompanionInfo("MOUNT", x)
if spellID == i then
PostSpell = 1; break;
end
end
if PostSpell == 0 then
ChatFrame1:AddMessage("["..i.."] - "..(GetSpellLink(i) or "! [" .. name .."]"));
else
PostSpell=0;
end
end
end
end
end
end
end
Explanation:
You will pickup every (!) spell ingame. The spells picked up will be tested (whether they are passive or not) and will then be placed on the Actionbar. If they are usable and not known, they will be posted into the chat.
Possibly bad programmed, but I generally dont program ANYTHING with lua, sry
At first your WoW will possibly freeze and your cursor will get some thousands of different spell icons. Just wait. If you go on desktop and back while the loop is still in progress, wow may lagg. Just wait for 1-2 minutes and all the spells will be posted in the chat.
Have fun!