Quantcast

Handle dps

Kevin Lyles [02-19-10 - 01:41]
Handle dps
Filename
Regexps.lua
diff --git a/Regexps.lua b/Regexps.lua
index 632dfc3..70c8820 100644
--- a/Regexps.lua
+++ b/Regexps.lua
@@ -197,6 +197,11 @@ MultipleStatLines = {
 }

 SingleStatLines = {
+	{"^%((%d+%.?%d*) damage per second%)$",
+		function(text, pattern)
+			return WeightsWatcher.singleStatValueOnly(text, pattern, "dps")
+		end
+	},
 }

 ItemInfoLines = {