DRData cleanup

This commit is contained in:
Sumsebrum 2021-05-20 01:24:20 +02:00
parent 2c858e1c84
commit 0d9cbc8f45

View File

@ -6,8 +6,6 @@ assert(LibStub, string.format("%s requires LibStub.", major))
local Data = LibStub:NewLibrary(major, minor) local Data = LibStub:NewLibrary(major, minor)
if( not Data ) then return end if( not Data ) then return end
if( IS_WRATH_BUILD == nil ) then IS_WRATH_BUILD = (select(4, GetBuildInfo()) >= 30000) end
-- How long before DR resets -- How long before DR resets
Data.RESET_TIME = 18 Data.RESET_TIME = 18
@ -234,42 +232,6 @@ Data.spells = {
[10912] = "charm", [10912] = "charm",
} }
-- Add WoTLK spells
if( IS_WRATH_BUILD ) then
-- Death Coil
Data.spells[47859] = "dc"
Data.spells[47860] = "dc"
-- Wyvern Sting
Data.spells[49011] = "sleep"
Data.spells[49012] = "sleep"
-- Entangling Roots
Data.spells[53308] = "root"
-- Frost Nova
Data.spells[42917] = "root"
-- Intercept (Remove all except this one come WoTLK)
Data.spells[20252] = "ctrlstun"
-- Pounce
Data.spells[49803] = "ctrlstun"
-- Polymorph
Data.spells[61305] = "disorient"
Data.spells[61025] = "disorient"
-- Sap
Data.spells[51724] = "disorient"
-- Maim
Data.spells[49802] = "disorient"
-- Hex (Guessing)
Data.spells[51514] = "disorient"
end
-- DR Category names -- DR Category names
Data.typeNames = { Data.typeNames = {
["disorient"] = "Disorients", ["disorient"] = "Disorients",