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 3734884 commit 13332bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DBM-Challenges/BfA/NzothVisionOrgrimmar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function mod:SPELL_AURA_APPLIED(args)
if GetNumGroupMembers() > 1 then
yellDesperateRetching:Yell()
end
elseif self:CheckDispelFilter() then
elseif self:CheckDispelFilter("disease") then
specWarnDesperateRetchingD:Show(args.destName)
specWarnDesperateRetchingD:Play("helpdispel")
end
Expand Down
4 changes: 2 additions & 2 deletions DBM-Challenges/BfA/NzothVisionStormwind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,11 @@ function mod:SPELL_AURA_APPLIED(args)
specWarnWaveringWill:Play("stopattack")
elseif spellId == 308380 then
warnConvert:Show(args.destName)
elseif spellId == 308366 and self:CheckDispelFilter() then
elseif spellId == 308366 and self:CheckDispelFilter("curse") then
specWarnAgonizingTormentD:Show(args.destName)
specWarnAgonizingTormentD:Play("helpdispel")
elseif spellId == 308265 then
if self:CheckDispelFilter() then
if self:CheckDispelFilter("disease") then
specWarnCorruptedBlight:Show(args.destName)
specWarnCorruptedBlight:Play("helpdispel")
end
Expand Down
4 changes: 2 additions & 2 deletions DBM-Challenges/Shadowlands/Torghast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ function mod:SPELL_AURA_APPLIED(args)
specWarnBoneShrapnel:Show(amount)
specWarnBoneShrapnel:Play("stackhigh")
end
elseif spellId == 304093 and self:IsValidWarning(args.destGUID) and args:IsDestTypePlayer() and self:CheckDispelFilter() then
elseif spellId == 304093 and self:IsValidWarning(args.destGUID) and args:IsDestTypePlayer() and self:CheckDispelFilter("magic") then
specWarnMassCripple:CombinedShow(0.5, args.destName)
specWarnMassCripple:ScheduleVoice(0.5, "helpdispel")
elseif spellId == 294526 and self:IsValidWarning(args.destGUID) and args:IsDestTypePlayer() and self:CheckDispelFilter() then
elseif spellId == 294526 and self:IsValidWarning(args.destGUID) and args:IsDestTypePlayer() and self:CheckDispelFilter("curse") then
specWarnCurseofFrailtyDispel:CombinedShow(0.5, args.destName)
specWarnCurseofFrailtyDispel:ScheduleVoice(0.5, "helpdispel")
elseif spellId == 277040 then
Expand Down

0 comments on commit 13332bf

Please sign in to comment.