Skip to content

Commit

Permalink
further refine timeless isle filtering so nearby enemy combat that re…
Browse files Browse the repository at this point in the history
…turns true on UnitAffectingCombat still gets filtered if WE aren't the ones in combat with them.
  • Loading branch information
MysticalOS committed May 23, 2024
1 parent 512fbde commit 315187f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DBM-TimelessIsle/IsleTimeless.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ end

function mod:SPELL_CAST_START(args)
local sourceGUID = args.sourceGUID
if not self:IsValidWarning(sourceGUID) then return end
if not self:IsValidWarning(sourceGUID, nil, nil, nil, true) then return end
local spellId = args.spellId
if spellId == 147997 then
if self.Options.SpecWarn147997interrupt and self:CheckInterruptFilter(args.sourceGUID, nil, false) then--Purposely no CD check, some casters can be stunned/knocked/etc (outside of high priests)
specWarnCauterize:Show(args.sourceName)
specWarnCauterize:Play("kickcast")
else
elseif self:AntiSpam(2, 7) then
warnCauterize:Show()
end
elseif spellId == 148004 and self:AntiSpam(3, 5) then
Expand Down

0 comments on commit 315187f

Please sign in to comment.