Skip to content

Commit

Permalink
NerubarPalace/Ansurek: Remove marks after debuffs have expired (#1892)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saxayone authored Oct 30, 2024
1 parent 7e944ec commit 981a346
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions NerubarPalace/Ansurek.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "ReactiveToxin", 437592)
self:Log("SPELL_CAST_SUCCESS", "ReactiveToxinSuccess", 437592) -- LFR
self:Log("SPELL_AURA_APPLIED", "ReactiveToxinApplied", 437586)
self:Log("SPELL_AURA_REMOVED", "ReactiveToxinRemoved", 437586)
self:Log("SPELL_AURA_APPLIED", "ConcentratedToxinApplied", 451278)
self:Log("SPELL_AURA_APPLIED", "FrothyToxinApplied", 464638)
self:Log("SPELL_AURA_APPLIED_DOSE", "FrothyToxinApplied", 464638)
Expand Down Expand Up @@ -289,6 +290,7 @@ function mod:OnBossEnable()
self:Log("SPELL_CAST_START", "AbyssalInfusion", 443888)
self:Log("SPELL_CAST_SUCCESS", "AbyssalInfusionSuccess", 443888) -- LFR
self:Log("SPELL_AURA_APPLIED", "AbyssalInfusionApplied", 443903)
self:Log("SPELL_AURA_REMOVED", "AbyssalInfusionRemoved", 443903)
self:Log("SPELL_AURA_APPLIED", "AbyssalReverberationApplied", 455387)
self:Log("SPELL_CAST_START", "FrothingGluttony", 445422)
self:Log("SPELL_AURA_APPLIED", "FrothVaporAppliedOnBoss", 445880)
Expand All @@ -297,6 +299,7 @@ function mod:OnBossEnable()
self:Log("SPELL_AURA_APPLIED", "AcolytesEssenceApplied", 445152)
self:Log("SPELL_CAST_START", "NullDetonation", 445021)
self:Log("SPELL_AURA_APPLIED", "RoyalCondemnationApplied", 438974)
self:Log("SPELL_AURA_REMOVED", "RoyalCondemnationRemoved", 438974)
self:Log("SPELL_AURA_APPLIED", "RoyalShacklesApplied", 441865)
self:Log("SPELL_CAST_START", "Infest", 443325)
self:Log("SPELL_AURA_APPLIED", "InfestApplied", 443656)
Expand Down Expand Up @@ -478,6 +481,13 @@ do
self:MarkToxinPlayers()
end
end

function mod:ReactiveToxinRemoved(args)
if self:Me(args.destGUID) then
self:CancelSayCountdown(437592)
end
self:CustomIcon(reactiveToxinMarker, args.destName)
end
end

function mod:ConcentratedToxinApplied(args)
Expand Down Expand Up @@ -1129,6 +1139,13 @@ do
self:MarkAbyssalInfusionPlayers()
end
end

function mod:AbyssalInfusionRemoved(args)
if self:Me(args.destGUID) then
self:CancelSayCountdown(443888)
end
self:CustomIcon(abyssalInfusionMarker, args.destName)
end
end

function mod:AbyssalReverberationApplied(args)
Expand Down Expand Up @@ -1255,6 +1272,13 @@ do
self:MarkRoyalCondemnationPlayers()
end
end

function mod:RoyalCondemnationRemoved(args)
if self:Me(args.destGUID) then
self:CancelSayCountdown(438976)
end
self:CustomIcon(royalCondemnationMarker, args.destName)
end
end

function mod:RoyalShacklesApplied(args)
Expand Down

0 comments on commit 981a346

Please sign in to comment.