Changed the hp5 and mp5 rules to be a touch more specific
Kevin Lyles [08-26-10 - 20:07]
Changed the hp5 and mp5 rules to be a touch more specific
diff --git a/Locales/enUS/patterns.lua b/Locales/enUS/patterns.lua
index 527d68b..444d1f0 100644
--- a/Locales/enUS/patterns.lua
+++ b/Locales/enUS/patterns.lua
@@ -517,7 +517,7 @@ ww_SingleStatLines = {
end,
{"generic"},
},
- {"^([+-]?%d+) mana %a+ 5 seco?n?d?s?%.?$",
+ {"^([+-]?%d+) mana [ep]v?ery? 5 seco?n?d?s?%.?$",
function(text, pattern)
return WeightsWatcher.singleStatValueOnly(text, pattern, "mp5")
end,
@@ -547,7 +547,7 @@ ww_SingleStatLines = {
{"generic"},
},
{"^([+-]?%d+) (block value)$", WeightsWatcher.statNumFirst, {"enchant", "socketBonus"}},
- {"^([+-]?%d+) health %a+ 5 seco?n?d?s?%.?$",
+ {"^([+-]?%d+) health [ep]v?ery? 5 seco?n?d?s?%.?$",
function(text, pattern)
return WeightsWatcher.singleStatValueOnly(text, pattern, "hp5")
end,