diff --git a/locales/enUS.lua b/locales/enUS.lua index ca109ed..94bb66b 100644 --- a/locales/enUS.lua +++ b/locales/enUS.lua @@ -313,14 +313,9 @@ L["Reduced Physical Damage Taken"] = true -- Tip2: The strings are passed into string.find, so you should escape the magic characters ^$()%.[]*+-? with a % L["numberPatterns"] = { {pattern = " by (%d+)%f[^%d%%]", addInfo = "AfterNumber",}, - {pattern = "([%+%-]%d+)%f[^%d%%]", addInfo = "AfterStat",}, - {pattern = "grant.-(%d+)", addInfo = "AfterNumber",}, -- for "grant you xx stat" type pattern, ex: Quel'Serrar, Assassination Armor set - {pattern = "add.-(%d+)[^%%]?$", addInfo = "AfterNumber",}, -- for "add xx stat" type pattern, ex: Adamantite Sharpening Stone - -- Added [^%%] so that it doesn't match strings like "Increases healing by up to 10% of your total Intellect." [Whitemend Pants] ID: 24261 - -- Added [^|] so that it doesn't match enchant strings (JewelTips) - {pattern = "(%d+)([^%d%%|]+)", addInfo = "AfterStat",}, -- [發光的暗影卓奈石] +6法術傷害及5耐力 - {pattern = "chest, legs, hands or feet by (%d+)"}, + {pattern = "([%+%-]?%d+)%f[^%d%%]", addInfo = "AfterStat",}, } + -- Exclusions are used to ignore instances of separators that should not get separated L["exclusions"] = { ["head, chest, shoulders, legs,"] = "head chest shoulders legs", -- Borean Armor Kit @@ -386,6 +381,7 @@ L["statList"] = { {"armor penetration", StatLogic.Stats.ArmorPenetrationRating}, {"elemental mastery", false}, -- Frost Witch's Regalia + {"mastery rating", StatLogic.Stats.MasteryRating}, {"mastery", StatLogic.Stats.MasteryRating}, {ARMOR:lower(), StatLogic.Stats.Armor}, }