Skip to content

Commit

Permalink
use correct spellid for plague in AQ40, Closes DeadlyBossMods/DBM-Cla…
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Nov 29, 2023
1 parent 7a68013 commit b000366
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions DBM-Raids-Vanilla/AQ40/AQ40Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ mod.isTrashMod = true

mod:RegisterEvents(
"ENCOUNTER_END",
"SPELL_AURA_APPLIED 22997 25698 26079",
"SPELL_AURA_REMOVED 22997",
"SPELL_AURA_APPLIED 26556 25698 26079",
"SPELL_AURA_REMOVED 26556",
"SPELL_DAMAGE",
"SPELL_MISSED"
)
Expand Down Expand Up @@ -46,16 +46,16 @@ mod:RegisterShortTermEvents(
mod:SendSync("IsAQ40Started")

do-- Anubisath Plague/Explode - keep in sync - AQ40/AQ40Trash.lua AQ20/AQ20Trash.lua
local warnPlague = mod:NewTargetNoFilterAnnounce(22997, 2)
local warnPlague = mod:NewTargetNoFilterAnnounce(26556, 2)
local warnCauseInsanity = mod:NewTargetNoFilterAnnounce(26079, 2)

local specWarnPlague = mod:NewSpecialWarningMoveAway(22997, nil, nil, nil, 1, 2)
local yellPlague = mod:NewYell(22997)
local specWarnPlague = mod:NewSpecialWarningMoveAway(26556, nil, nil, nil, 1, 2)
local yellPlague = mod:NewYell(26556)
local specWarnExplode = mod:NewSpecialWarningRun(25698, "Melee", nil, 3, 4, 2)

-- aura applied didn't seem to catch the reflects and other buffs
function mod:SPELL_AURA_APPLIED(args)
if args:IsSpell(22997) and not self:IsTrivial() then
if args:IsSpell(26556) and not self:IsTrivial() then
if args:IsPlayer() then
specWarnPlague:Show()
specWarnPlague:Play("runout")
Expand All @@ -75,7 +75,7 @@ do-- Anubisath Plague/Explode - keep in sync - AQ40/AQ40Trash.lua AQ20/AQ20Trash
end

function mod:SPELL_AURA_REMOVED(args)
if args:IsSpell(22997) then
if args:IsSpell(26556) then
if args:IsPlayer() and self.Options.RangeFrame then
DBM.RangeCheck:Hide()
end
Expand Down

0 comments on commit b000366

Please sign in to comment.