Quantcast

Removed an unused portion of a pattern

Kevin Lyles [02-24-13 - 17:14]
Removed an unused portion of a pattern
Filename
Locales/enUS/patterns.lua
diff --git a/Locales/enUS/patterns.lua b/Locales/enUS/patterns.lua
index 45cbba6..c55ac82 100644
--- a/Locales/enUS/patterns.lua
+++ b/Locales/enUS/patterns.lua
@@ -20,7 +20,7 @@ ww_EffectHandlers = {

 function WeightsWatcher.damageRange(textL, textR)
 	local stats
-	local start, _, minimum, maximum = string.find(textL, "^%+?(%d+%.?%d*) %- (%d+%.?%d*) %a* ?damage$")
+	local start, _, minimum, maximum = string.find(textL, "^(%d+%.?%d*) %- (%d+%.?%d*) %a* ?damage$")
 	if start then
 		stats = WeightsWatcher.newStatTable()
 		maximum = tonumber(maximum)