From 7b2a77642992a6f6adefb933cedaf9fb468c41cd Mon Sep 17 00:00:00 2001 From: Nick Towle Date: Wed, 8 Nov 2023 16:00:24 -0500 Subject: [PATCH] Legion/DarkheartThicket/ArchdruidGlaidalis: Remove pre-10.2 compat --- Legion/DarkheartThicket/ArchdruidGlaidalis.lua | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Legion/DarkheartThicket/ArchdruidGlaidalis.lua b/Legion/DarkheartThicket/ArchdruidGlaidalis.lua index d167472be..a4f4cfc6d 100644 --- a/Legion/DarkheartThicket/ArchdruidGlaidalis.lua +++ b/Legion/DarkheartThicket/ArchdruidGlaidalis.lua @@ -1,4 +1,3 @@ -local isTenDotTwo = select(4, GetBuildInfo()) >= 100200 --- XXX delete when 10.2 is live everywhere -------------------------------------------------------------------------------- -- Module Declaration -- @@ -49,12 +48,7 @@ function mod:OnBossEnable() self:Log("SPELL_AURA_APPLIED", "NightfallDamage", 198408) self:Log("SPELL_PERIODIC_DAMAGE", "NightfallDamage", 198408) self:Log("SPELL_PERIODIC_MISSED", "NightfallDamage", 198408) - if isTenDotTwo then - self:Log("SPELL_CAST_SUCCESS", "GrievousLeap", 196354) - else - -- XXX delete when 10.2 is live everywhere - self:RegisterUnitEvent("UNIT_SPELLCAST_SUCCEEDED", nil, "boss1") -- Grievous Leap - end + self:Log("SPELL_CAST_SUCCESS", "GrievousLeap", 196354) self:Log("SPELL_AURA_APPLIED", "GrievousTearApplied", 196376) -- Nightmare Abomination @@ -168,15 +162,6 @@ do end end --- XXX pre-10.2 Grievous Leap compat -function mod:UNIT_SPELLCAST_SUCCEEDED(_, _, _, spellId) - if spellId == 196354 then -- Grievous Leap - self:GrievousLeap({ - spellId = spellId, - }) - end -end - function mod:GrievousLeap(args) self:Message(args.spellId, "yellow") self:PlaySound(args.spellId, "alarm")