Skip to content

Commit

Permalink
Don't check for Stoneform when determining dispel type
Browse files Browse the repository at this point in the history
Fixes #736
  • Loading branch information
jordonwow committed Jun 10, 2024
1 parent 0d7a8c3 commit 73af3bc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1402,12 +1402,13 @@ function BigDebuffs:IsDispellable(unit, dispelType)
if type(self.dispelTypes[dispelType]) == "function" then return self.dispelTypes[dispelType]() end

-- dwarves can use Stoneform to remove diseases and poisons
if (not self.dispelTypes[dispelType]) and
unit == "player" and
(dispelType == "Poison" or dispelType == "Disease")
then
return IsUsableSpell("Stoneform")
end
-- todo: make this optional
-- if (not self.dispelTypes[dispelType]) and
-- unit == "player" and
-- (dispelType == "Poison" or dispelType == "Disease")
-- then
-- return IsUsableSpell("Stoneform")
-- end

return self.dispelTypes[dispelType]
else
Expand Down

0 comments on commit 73af3bc

Please sign in to comment.