local MAJOR, MINOR = 'KuiSpellList-1.0', 1 |
local KuiSpellList = LibStub:NewLibrary(MAJOR, MINOR) |
|
if not KuiSpellList then |
-- already registered |
return |
end |
|
local whitelist = { |
--[[ Important spells ---------------------------------------------------------- |
Target buffs or debuffs which the player needs to keep track of ]] |
DRUID = { -- 4.2 |
[6795] = true, -- growl |
}, |
HUNTER = { -- 4.0.3 |
|
}, |
MAGE = { |
|
}, |
DEATHKNIGHT = { -- 5.0.4 BLOOD |
[55095] = true, -- frost fever |
[55078] = true, -- blood plague |
|
[56222] = true, -- dark command |
}, |
WARRIOR = { -- 5.0.4 |
[86346] = true, -- colossus smash |
[113746] = true, -- weakened armour |
|
[355] = true, -- taunt |
[676] = true, -- disarm |
[1160] = true, -- demoralizing shout |
[1715] = true, -- hamstring |
[5246] = true, -- intimidating shout |
[18498] = true, -- gag order |
[64382] = true, -- shattering throw |
|
[3411] = true, -- intervene |
|
-- talents |
[12323] = true, -- piercing howl |
[107566] = true, -- staggering shout |
[132168] = true, -- shockwave debuff |
[114029] = true, -- safeguard |
[114030] = true, -- vigilance |
[113344] = true, -- bloodbath debuff |
[132169] = true, -- storm bolt debuff |
|
-- TODO weakened blows, pretty much all tanks |
}, |
PALADIN = { -- 5.0.4 HOLY |
[114163] = true, -- eternal flame |
[53563] = { colour = {1,.5,0} }, -- beacon of light |
[20925] = { colour = {1,1,.3} }, -- sacred shield |
|
[19740] = { colour = {.2,.2,1} }, -- blessing of might |
[20217] = { colour = {1,.3,.3} }, -- blessing of kings |
|
[114165] = true, -- holy prism |
[114916] = true, -- execution sentence dot |
[114917] = true, -- stay of execution hot |
|
-- hand of... |
[114039] = true, -- purity |
[6940] = true, -- sacrifice |
[1044] = true, -- freedom |
[1038] = true, -- salvation |
[1022] = true, -- protection |
|
[2812] = true, -- denounce |
[10326] = true, -- turn evil |
[20066] = true, -- repentance |
[62124] = true, -- reckoning |
[105593] = true, -- fist of justice |
}, |
WARLOCK = { -- 5.0.4 |
[5697] = true, -- unending breath |
[20707] = true, -- soulstone |
[109773] = true, -- dark intent |
|
[172] = true, -- corruption |
[348] = true, -- immolate |
[980] = true, -- agony |
[27243] = true, -- seed of corruption |
[30108] = true, -- unstable affliction |
[47960] = true, -- shadowflame |
[48181] = true, -- haunt |
[80240] = true, -- havoc |
|
[1490] = true, -- curse of the elements |
[18223] = true, -- curse of exhaustion |
[109466] = true, -- curse of enfeeblement |
|
[710] = true, -- banish |
[1098] = true, -- enslave demon |
[5782] = true, -- fear |
[17962] = true, -- conflagrate slow |
|
-- metamorphosis: |
[603] = true, -- doom |
[124915] = true, -- chaos wave |
[116202] = true, -- aura of the elements |
[116198] = true, -- aura of enfeeblement |
|
-- talents: |
[5484] = true, -- howl of terror |
[30283] = true, -- shadowfury |
[111397] = true, -- blood fear |
[108505] = true, -- archimonde's vengeance |
}, |
SHAMAN = { -- 5.0.1 INCOMPLETE |
[8042] = true, -- earth shock |
[8050] = true, -- flame shock |
[8056] = true, -- frost shock |
[17364] = true, -- stormstrike |
[51490] = true, -- thunderstorm |
[61882] = true, -- earthquake |
|
[974] = true, -- earth shield |
[61295] = true, -- riptide |
|
[51514] = true, -- hex |
[76780] = true, -- bind elemental |
|
[63685] = true, -- frozen power freeze |
}, |
PRIEST = { -- 5.0.4 |
[139] = true, -- renew |
[6346] = true, -- fear ward |
[33206] = true, -- pain suppression |
[41635] = true, -- prayer of mending buff |
[47788] = true, -- guardian spirit |
[114908] = true, -- spirit shell shield |
|
[17] = true, -- power word: shield |
[21562] = true, -- power word: fortitude |
|
[2096] = true, -- mind vision |
[8122] = true, -- psychic scream |
[9484] = true, -- shackle undead |
[15487] = true, -- silence |
[64044] = true, -- psychic horror |
[111759] = true, -- levitate |
|
[589] = true, -- shadow word: pain |
[2944] = true, -- devouring plague |
[14914] = true, -- holy fire |
[34914] = true, -- vampiric touch |
|
-- talents: |
[108920] = true, -- void tendrils |
[605] = true, -- dominate mind |
}, |
ROGUE = { -- 4.0.6 |
|
}, |
MONK = { |
[116189] = true, -- provoke taunt |
[116330] = true, -- dizzying haze debuff |
[123727] = true, -- keg smash - dizzying haze debuff |
[123725] = true, -- breath of fire |
[120086] = true, -- fists of fury stun |
[122470] = true, -- touch of karma |
[130320] = true, -- rising sun kick debuff |
|
[116781] = true, -- legacy of the white tiger |
[117666] = true, -- legacy of the emperor buff |
|
[116849] = true, -- life cocoon |
[132120] = true, -- enveloping mist |
[119611] = true, -- renewing mist |
|
[117368] = true, -- grapple weapon |
[116095] = true, -- disable |
[115078] = true, -- paralysis |
|
-- talents: |
[116841] = true, -- tiger's lust |
[124081] = true, -- zen sphere |
[119392] = true, -- charging ox wave |
[119381] = true, -- leg sweep |
|
}, |
-- Important auras regardless of caster (cc, flags...) ------------------------- |
--[[ |
Global = { |
-- PVP ----------------------------------------------------------------- |
[34976] = true, -- Netherstorm Flag |
[23335] = true, -- Alliance Flag |
[23333] = true, -- Horde Flag |
}, |
]] |
} |
|
KuiSpellList.GetImportantSpells = function(class) |
return whitelist[class] |
end |