Quantcast

At least this is used in 3 items...but it's only one random suffix enchant id

Kevin Lyles [03-17-10 - 21:31]
At least this is used in 3 items...but it's only one random suffix enchant id
Filename
Regexps.lua
diff --git a/Regexps.lua b/Regexps.lua
index 4b9865b..f9abb4f 100644
--- a/Regexps.lua
+++ b/Regexps.lua
@@ -276,6 +276,11 @@ SingleStatLines = {
 		function(text, pattern)
 			return WeightsWatcher.singleStatValueOnly(text, pattern, "shadow resistance")
 		end},
+	-- currently only used by random enchant id -55 (of the Nightmare)
+	{"^([+-]?%d+) shadow damage$",
+		function(text, pattern)
+			return WeightsWatcher.singleStatValueOnly(text, pattern, "shadow spell damage")
+		end},

 	-- druid only
 	{"^increases attack power by (%d+) in cat, bear, dire bear, and moonkin forms only%.$",