Skip to content

Commit

Permalink
Now poisons are considered as dispellable debuffs for shamans with po…
Browse files Browse the repository at this point in the history
…ison clean totem talent (github issue #270)
  • Loading branch information
michaelnpsp committed Sep 30, 2024
1 parent 2ce89cd commit d25e703
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions GridUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ end

-- dispellable by player spells types tracking
do
local IsPlayerSpell = IsPlayerSpell
local class, dispel, func = Grid2.playerClass, {}, nil
if Grid2.isCata then -- cataclysm
if class == 'DRUID' then
Expand Down Expand Up @@ -364,8 +365,9 @@ do
end
elseif class == 'SHAMAN' then
func = function(self, event)
dispel.Magic = IsPlayerSpell(77130)
dispel.Curse = IsPlayerSpell(383016) or IsPlayerSpell(51886)
dispel.Magic = IsPlayerSpell(77130)
dispel.Curse = IsPlayerSpell(383016) or IsPlayerSpell(51886)
dispel.Poison = IsPlayerSpell(383013)
end
elseif class == 'MAGE' then
func = function()
Expand Down

0 comments on commit d25e703

Please sign in to comment.