Skip to content

Commit d9ebba5

Browse files
committed
Update libdispel
1 parent dfd3ca7 commit d9ebba5

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Libs/LibDispel/LibDispel.lua

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
local MAJOR, MINOR = "LibDispel-1.0", 18
1+
2+
local MAJOR, MINOR = "LibDispel-1.0", 20
23
assert(LibStub, MAJOR.." requires LibStub")
34

45
local lib = LibStub:NewLibrary(MAJOR, MINOR)
@@ -1233,6 +1234,8 @@ if Retail then
12331234
BleedList[1237602] = "Gushing Wound"
12341235
BleedList[1239906] = "Phantom Strikes"
12351236
BleedList[1248211] = "Phase Slash"
1237+
BleedList[1253240] = "Corruption of the Engorged"
1238+
BleedList[1255245] = "Twilight Slash"
12361239
end
12371240

12381241
function lib:GetDebuffTypeColor()
@@ -1265,16 +1268,16 @@ do
12651268
[89808] = "Singe"
12661269
}
12671270

1268-
if Retail then
1269-
WarlockPetSpells[132411] = "Singe Magic" -- Grimoire of Sacrifice
1270-
else
1271+
if Classic then
12711272
WarlockPetSpells[19505] = "Devour Magic Rank 1"
12721273
WarlockPetSpells[19731] = "Devour Magic Rank 2"
12731274
WarlockPetSpells[19734] = "Devour Magic Rank 3"
12741275
WarlockPetSpells[19736] = "Devour Magic Rank 4"
12751276
WarlockPetSpells[27276] = "Devour Magic Rank 5"
12761277
WarlockPetSpells[27277] = "Devour Magic Rank 6"
12771278
WarlockPetSpells[48011] = "Devour Magic Rank 7"
1279+
else
1280+
WarlockPetSpells[132411] = "Singe Magic" -- Grimoire of Sacrifice
12781281
end
12791282

12801283
local function CheckSpell(spellID, pet)
@@ -1283,7 +1286,7 @@ do
12831286

12841287
local function CheckPetSpells()
12851288
for spellID in next, WarlockPetSpells do
1286-
if CheckSpell(spellID, Retail and 1 or true) then
1289+
if CheckSpell(spellID, Classic and true or 1) then
12871290
return true
12881291
end
12891292
end
@@ -1368,11 +1371,11 @@ do
13681371
frame:RegisterEvent('LEARNED_SPELL_IN_TAB')
13691372
frame:RegisterEvent('SPELLS_CHANGED')
13701373

1371-
if Retail or Mists then
1374+
if not Classic then
13721375
frame:RegisterEvent('PLAYER_TALENT_UPDATE')
13731376
end
13741377

13751378
if myClass == 'WARLOCK' then
13761379
frame:RegisterUnitEvent('UNIT_PET', 'player')
13771380
end
1378-
end
1381+
end

0 commit comments

Comments
 (0)