diff --git a/Localization.enUS.lua b/Localization.enUS.lua index 76551e9..df35232 100644 --- a/Localization.enUS.lua +++ b/Localization.enUS.lua @@ -91,6 +91,7 @@ PerfectRaidLocals = { ["Mana Bar Height:"] = "Mana Bar Height:", ["Mark of the Wild"] = "Mark of the Wild", ["Max Units per Column:"] = "Max Units per Column:", + ["Monk"] = "Monk", ["Mortal Strike"] = "Mortal Strike", ["Name"] = "Name", ["No filters selected"] = "No filters selected", diff --git a/PerfectRaid.lua b/PerfectRaid.lua index 92c8356..b07af07 100644 --- a/PerfectRaid.lua +++ b/PerfectRaid.lua @@ -239,7 +239,7 @@ function PerfectRaid:CreateRaidFrame(idx) frame:SetAttribute("groupBy", options.groupBy) local groupOrder if options.groupBy == "CLASS" then - groupOrder="WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER" + groupOrder="WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,MONK,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 8432416..97f2431 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -920,6 +920,7 @@ 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, + ["Monk"] = function(u,c,g) return c == "MONK" 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 64797a6..083fa56 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,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER", + filter = "WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MONK,MAGE,ROGUE,WARLOCK,HUNTER", groupBy = "CLASS", maxUnits = 25, } @@ -251,6 +251,7 @@ function Frames:CreateEditFrame(parent) makeCheck(L["Druid"], "DRUID") makeCheck(L["Shaman"], "SHAMAN") makeCheck(L["Paladin"], "PALADIN") + makeCheck(L["Monk"], "MONK") makeCheck(L["Mage"], "MAGE") makeCheck(L["Rogue"], "ROGUE") makeCheck(L["Warlock"], "WARLOCK") @@ -263,7 +264,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,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MAGE,ROGUE,WARLOCK,HUNTER") + makeCheck(L["All Classes"], "WARRIOR,DEATHKNIGHT,PRIEST,DRUID,SHAMAN,PALADIN,MONK,MAGE,ROGUE,WARLOCK,HUNTER") makeCheck(L["All Groups"], "1,2,3,4,5,6,7,8") makeCheck(L["Main tanks"], "MAINTANK") makeCheck(L["Main assists"], "MAINASSIST")