Skip to content

Commit

Permalink
BfA/AtalDazar/Trash: Remove pre-10.2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Nov 8, 2023
1 parent b10215b commit 50ea9ef
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions BfA/AtalDazar/Trash.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
local isTenDotTwo = select(4, GetBuildInfo()) >= 100200 --- XXX delete when 10.2 is live everywhere
--------------------------------------------------------------------------------
-- Module Declaration
--
Expand Down Expand Up @@ -122,12 +121,7 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_SUCCESS", "FieryEnchant", 253583)

-- Reanimated Honor Guard
if isTenDotTwo then
self:Log("SPELL_CAST_SUCCESS", "FesteringEruption", 255626)
else
-- XXX remove when 10.2 is live everywhere
self:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
end
self:Log("SPELL_CAST_SUCCESS", "FesteringEruption", 255626)
end

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -262,15 +256,3 @@ do
end
end
end

-- XXX delete when 10.2 is live everywhere
do
local prev = nil
function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, castGUID, spellId)
if spellId == 255626 and castGUID ~= prev then -- Festering Eruption
prev = castGUID
self:Message(spellId, "orange")
self:PlaySound(spellId, "alarm")
end
end
end

0 comments on commit 50ea9ef

Please sign in to comment.