Skip to content

Commit

Permalink
AQ Trash: Show spell name for Toxic Pool GTFO warning
Browse files Browse the repository at this point in the history
  • Loading branch information
emmericp committed Dec 15, 2024
1 parent e97fd23 commit 1cf191a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions DBM-Raids-Vanilla/AQ20/AQ20Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function mod:SPELL_AURA_APPLIED(args)
elseif args:IsSpell(1215202) then
aq40Trash:NoxiousBurst(args, specWarnBurst, yellBurst, timerBurst)
elseif args:IsSpell(1215421) and args:IsPlayer() and self:AntiSpam(4, "ToxicPool") then
specWarnGTFO:Show()
specWarnGTFO:Show(args.spellName)
specWarnGTFO:Play("watchfeet")
elseif args:IsSpell(2855) and not args:IsDestTypePlayer() then
local caster = DBM:GetRaidUnitIdByGuid(args.sourceGUID)
Expand All @@ -99,9 +99,9 @@ function mod:SPELL_AURA_APPLIED(args)
end
end

function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId)
function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName)
if spellId == 1215421 and destGUID == UnitGUID("player") and self:AntiSpam(4, "ToxicPool") then
specWarnGTFO:Show()
specWarnGTFO:Show(spellName)
specWarnGTFO:Play("watchfeet")
end
end
Expand Down
6 changes: 3 additions & 3 deletions DBM-Raids-Vanilla/AQ40/AQ40Trash.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function mod:SPELL_AURA_APPLIED(args)
elseif args:IsSpell(1215202) then
self:NoxiousBurst(args, specWarnBurst, yellBurst, timerBurst)
elseif args:IsSpell(1215421) and args:IsPlayer() and self:AntiSpam(4, "ToxicPool") then
specWarnGTFO:Show()
specWarnGTFO:Show(args.spellName)
specWarnGTFO:Play("watchfeet")
elseif args:IsSpell(24573) and args:IsDestTypePlayer() then
self:TrackTrashAbility(args.sourceGUID, "MortalStrike", args.sourceRaidFlags, args.sourceName)
Expand Down Expand Up @@ -175,9 +175,9 @@ function mod:SPELL_MISSED(sourceGUID, _, _, _, destGUID, destName, _, destRaidFl
end
end

function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId)
function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName)
if spellId == 1215421 and destGUID == UnitGUID("player") and self:AntiSpam(4, "ToxicPool") then
specWarnGTFO:Show()
specWarnGTFO:Show(spellName)
specWarnGTFO:Play("watchfeet")
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ Event trace:
[ 59.28] SPELL_AURA_APPLIED: [->Healer1: Toxic Pool] "", nil, 0x0, Player-1-00000007, Healer1, 0x511, 1215421, Toxic Pool, 0, DEBUFF, 0
AntiSpam: ToxicPool
Filtered: 1x SPELL_AURA_APPLIED at 61.12
ShowSpecialWarning: Bad damage - move away
ShowSpecialWarning: Toxic Pool damage - move away
PlaySound: VoicePack/watchfeet
[ 71.39] CHAT_MSG_MONSTER_EMOTE: %s sets eyes on Dps3!, Buru the Gorger, "", "", Dps3, "", 0, 0, "", 0, 1402, nil, 0, false, false, false, false, 0
ShowAnnounce: Pursue on Unknown
[ 76.16] CHAT_MSG_MONSTER_EMOTE: %s sets eyes on Dps7!, Buru the Gorger, "", "", Dps7, "", 0, 0, "", 0, 1404, nil, 0, false, false, false, false, 0
ShowAnnounce: Pursue on Unknown
[ 91.04] SPELL_AURA_APPLIED: [->Healer1: Toxic Pool] "", nil, 0x0, Player-1-00000007, Healer1, 0x511, 1215421, Toxic Pool, 0, DEBUFF, 0
AntiSpam: ToxicPool
ShowSpecialWarning: Bad damage - move away
ShowSpecialWarning: Toxic Pool damage - move away
PlaySound: VoicePack/watchfeet
[100.15] ENCOUNTER_END: 721, Buru the Gorger, 185, 20, 1, 0
EndCombat: ENCOUNTER_END
Expand Down

0 comments on commit 1cf191a

Please sign in to comment.