diff --git a/.luacheckrc b/.luacheckrc index c04d6c6..99df019 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -54,6 +54,7 @@ read_globals = { "InCombatLockdown", "InterfaceOptionsFrame_OpenToCategory", "IsInInstance", + "IsPlayerSpell", "issecurevariable", "IsUsableSpell", "KuiNameplates", @@ -85,6 +86,7 @@ read_globals = { "UnitIsUnit", "UnitReaction", "WOW_PROJECT_BURNING_CRUSADE_CLASSIC", + "WOW_PROJECT_CATACLYSM_CLASSIC", "WOW_PROJECT_CLASSIC", "WOW_PROJECT_ID", "WOW_PROJECT_MAINLINE", diff --git a/BigDebuffs.lua b/BigDebuffs.lua index ce22576..80a0298 100644 --- a/BigDebuffs.lua +++ b/BigDebuffs.lua @@ -337,6 +337,17 @@ else Curse = function() return IsUsableSpell(GetSpellInfo(374251)) end, }, } + if WOW_PROJECT_ID == WOW_PROJECT_CATACLYSM_CLASSIC then + classDispel.SHAMAN = { + Magic = function() return IsPlayerSpell(77130) end, + Curse = true, + } + classDispel.PALADIN = { + Magic = function() return IsPlayerSpell(53551) end, + Poison = true, + Disease = true, + } + end local _, class = UnitClass("player") BigDebuffs.dispelTypes = classDispel[class] end