Skip to content

Commit

Permalink
Dragonflight/Neltharus/WarlordSargha: 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 601a915 commit b10215b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions Dragonflight/Neltharus/WarlordSargha.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 @@ -62,12 +61,7 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "MagmaShield", 376780)
self:Log("SPELL_AURA_APPLIED", "MagmaShieldApplied", 376780)
self:Log("SPELL_AURA_REMOVED", "MagmaShieldRemoved", 376780)
if isTenDotTwo then
self:Log("SPELL_CAST_START", "BurningEmber", 377473)
else
-- XXX delete when 10.2 is live everywhere
self:RegisterUnitEvent("UNIT_SPELLCAST_SUCCEEDED", nil, "boss1") -- Burning Ember
end
self:Log("SPELL_CAST_START", "BurningEmber", 377473)
self:Log("SPELL_CAST_START", "TheDragonsKiln", 377204)
self:Log("SPELL_CAST_START", "MoltenGold", 377017)

Expand Down Expand Up @@ -154,12 +148,6 @@ do
end
end

function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, _, spellId)
if spellId == 377469 then -- Burning Ember
self:BurningEmber()
end
end

function mod:BurningEmber()
self:StopBar(377477)
burningEmberRemaining = burningEmberRemaining - 1
Expand Down

0 comments on commit b10215b

Please sign in to comment.