diff --git a/.luacheckrc b/.luacheckrc index dc1bab3..7269b48 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -43,4 +43,5 @@ globals = { "UnitPlayerOrPetInParty", "UnitPlayerOrPetInRaid", "UnitName", + "UnitExists", } diff --git a/DBM-Challenges/Legion/DPSXylem.lua b/DBM-Challenges/Legion/DPSXylem.lua index 95c8825..29a1c28 100644 --- a/DBM-Challenges/Legion/DPSXylem.lua +++ b/DBM-Challenges/Legion/DPSXylem.lua @@ -101,7 +101,7 @@ function mod:SPELL_AURA_APPLIED(args) end function mod:SPELL_PERIODIC_DAMAGE(_, _, _, _, destGUID, _, _, _, spellId, spellName) - if spellId == 232672 and destGUID == UnitGUID("player") and not playerDebuff and self:AntiSpam(2, 1) then + if spellId == 232672 and destGUID == UnitGUID("player") and not self:AntiSpam(2, 1) then specWarnGTFO:Show(spellName) specWarnGTFO:Play("watchfeet") end