That’s one small step for man… one… giant leap for mankind.
Short preview of the file with over 50k spells (~ 2 MB).
Code:
local type = {
[2096] = 1, -- Mind Vision
[30019] = 1, -- Control Piece
[37754] = 1, -- Through The Eyes of Gorefiend
[40789] = 1, -- Zoom Out
[40792] = 1, -- Zoom In
[79580] = 12, -- Overhead Smash
[79612] = 12, -- Submarine Intro
[79630] = 12, -- Drakonid Rush
[79725] = 12, -- High-Security Shadow Prison
[79764] = 12, -- Tripped Giant
[79766] = 12, -- Consume Life Energy
[79767] = 12, -- Consume Life Energy
[79768] = 12, -- Consume Life Energy
}
Complete list here:
Multiupload.nl - upload your files to multiple file hosting sites!
All Spells with a buff or debuff. For example:
[1715] = 33, -- Hamstring
Means the spell with the name "hamsting" and the spellID "1715" has the debuff/buff type effect of 33.
Buff/Debuff type 33 means "Decrease Run Speed".
You can get the type code meaning here:
Class Abilities - Spells - WowDB
There are many things, wich we can do with this list
For example:
Code:
local function hasType(unit, type)
for x = 1, 40 do
local temp = select(11,UnitDebuff(unit,x))
if temp == nil then
break
elseif types[temp] == type then
return true
end
end
return false
end
local function hasSlow(unit)
return hasType(unit, 33)
end
print(hasSlow("target"))
The only problem is maybe the size, dont know