From d25e703e5eaf7db36cf49bdc40eff92fbd34ae56 Mon Sep 17 00:00:00 2001 From: michaelsp Date: Mon, 30 Sep 2024 18:21:04 +0200 Subject: [PATCH] Now poisons are considered as dispellable debuffs for shamans with poison clean totem talent (github issue #270) --- GridUtils.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GridUtils.lua b/GridUtils.lua index 6eb76f29..95cb2729 100644 --- a/GridUtils.lua +++ b/GridUtils.lua @@ -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 @@ -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()