diff --git a/Localization.enUS.lua b/Localization.enUS.lua index 94a1ec4..01119dc 100644 --- a/Localization.enUS.lua +++ b/Localization.enUS.lua @@ -25,6 +25,7 @@ PerfectRaidLocals = { ["Color bars by class"] = "Color bars by class", ["Column Anchor Point:"] = "Column Anchor Point:", ["Dead"] = "Dead", + ["Death Knight"] = "Death Knight", ["Delete"] = "Delete", ["Disable"] = "Disable", ["Disabled: "] = "Disabled: ", diff --git a/PerfectRaid.lua b/PerfectRaid.lua index f740f2f..1228435 100644 --- a/PerfectRaid.lua +++ b/PerfectRaid.lua @@ -257,7 +257,7 @@ function PerfectRaid:CreateRaidFrame(idx) frame:SetAttribute("groupBy", options.groupBy) local groupOrder if options.groupBy == "CLASS" then - groupOrder="WARRIOR,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER" + groupOrder="WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER" elseif options.groupBy == "GROUP" then groupOrder="1,2,3,4,5,6,7,8" end diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua index c79661f..2312dd0 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -865,6 +865,7 @@ end Buffs.conditions = { ["All"] = function(u,c,g) return true end, ["Warrior"] = function(u,c,g) return c == "WARRIOR" end, + ["Death Knight"] = function(u,c,g) return c == "DEATHKNIGHT" end, ["Priest"] = function(u,c,g) return c == "PRIEST" end, ["Druid"] = function(u,c,g) return c == "DRUID" end, ["Paladin"] = function(u,c,g) return c == "PALADIN" end, diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua index 4b802b0..d17483a 100644 --- a/PerfectRaid_Frames.lua +++ b/PerfectRaid_Frames.lua @@ -59,7 +59,7 @@ function Frames:DONGLE_PROFILE_CREATED(event, db, addon, svname, profileKey) sortType = "NAME", deficit = 1, colAnchor = "LEFT", - filter = "WARRIOR,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER", + filter = "WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER", groupBy = "CLASS", maxUnits = 25, } @@ -246,6 +246,7 @@ function Frames:CreateEditFrame(parent) end makeCheck(L["Warrior"], "WARRIOR") + makeCheck(L["Death Knight"], "DEATHKNIGHT") makeCheck(L["Priest"], "PRIEST") makeCheck(L["Druid"], "DRUID") makeCheck(L["Shaman"], "SHAMAN") @@ -262,7 +263,7 @@ function Frames:CreateEditFrame(parent) makeCheck(L["Group 6"], "6") makeCheck(L["Group 7"], "7") makeCheck(L["Group 8"], "8") - makeCheck(L["All Classes"], "WARRIOR,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER") + makeCheck(L["All Classes"], "WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER") makeCheck(L["All Groups"], "1,2,3,4,5,6,7,8") for idx,button in ipairs(self.filters) do