Skip to content

Commit

Permalink
Fix usages of CheckDispelFilter to use type
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Apr 26, 2024
1 parent d82787f commit 8cf8393
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/BattleofDazaralor/ConclaveoftheChosen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function mod:SPELL_AURA_APPLIED(args)
warnBwonsamdisWrath:Show(args.destName)
end
local uId = DBM:GetRaidUnitId(args.destName)
if self:IsTanking(uId) and self:CheckDispelFilter() then
if self:IsTanking(uId) and self:CheckDispelFilter("curse") then
specWarnBwonsamdisWrathDispel:Show(args.destName)
specWarnBwonsamdisWrathDispel:Play("helpdispel")
end
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/BattleofDazaralor/Mekkatorque.lua
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ function mod:SPELL_AURA_APPLIED(args)
self:SetIcon(args.destName, icon)
end
self.vb.gigaIcon = self.vb.gigaIcon + 1
elseif spellId == 287167 and self:CheckDispelFilter() then
elseif spellId == 287167 and self:CheckDispelFilter("magic") then
specWarnDiscombobulation:CombinedShow(0.3, args.destName)
specWarnDiscombobulation:ScheduleVoice(0.3, "helpdispel")
elseif spellId == 284168 then
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/EternalPalace/Zaqul.lua
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function mod:SPELL_AURA_APPLIED(args)
yellManifedNightmaresFades:Countdown(spellId)
end
elseif spellId == 295327 then
if self:CheckDispelFilter() then
if self:CheckDispelFilter("magic") then
specWarShatteredPsyche:CombinedShow(1, args.destName)
specWarShatteredPsyche:ScheduleVoice(1, "helpdispel")
end
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/Nyalotha/NZothTheCorruptor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ function mod:SPELL_AURA_APPLIED(args)
yellParanoiaRepeater:Yell(icon)
end
end
elseif spellId == 313400 and args:IsDestTypePlayer() and self:CheckDispelFilter() and self:AntiSpam(3, 3) then
elseif spellId == 313400 and args:IsDestTypePlayer() and self:CheckDispelFilter("magic") and self:AntiSpam(3, 3) then
specWarnCorruptedMindDispel:Show(args.destName)
specWarnCorruptedMindDispel:Play("helpdispel")
elseif spellId == 313793 then
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-BfA/Uldir/Zul.lua
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function mod:SPELL_AURA_APPLIED(args)
if self.vb.DarkRevIcon == 3 then
self.vb.DarkRevIcon = 1
end
elseif spellId == 273434 and self:CheckDispelFilter() then
elseif spellId == 273434 and self:CheckDispelFilter("curse") then
specWarnPitofDespair:CombinedShow(0.3, args.destName)
specWarnPitofDespair:CancelVoice()--Avoid spam
specWarnPitofDespair:ScheduleVoice(0.3, "helpdispel")
Expand Down

0 comments on commit 8cf8393

Please sign in to comment.