Quantcast

Added parsing for item 7730

Kevin Lyles [07-26-10 - 13:27]
Added parsing for item 7730
Filename
Regexps.lua
diff --git a/Regexps.lua b/Regexps.lua
index ac1ee58..ed4df08 100644
--- a/Regexps.lua
+++ b/Regexps.lua
@@ -637,6 +637,15 @@ function WeightsWatcher.damageRange(textL, textR)
 			damage = tonumber(damage)
 			stats["average melee weapon damage"] = damage
 			stats["maximum melee weapon damage"] = damage
+		else
+			-- item 7730
+			local start, _, damage = string.find(textL, "^%+(%d+) frost damage$")
+			if start then
+				stats = WeightsWatcher.newStatTable()
+				damage = tonumber(damage)
+				stats["average melee weapon damage"] = damage
+				stats["maximum melee weapon damage"] = damage
+			end
 		end
 	end
 	if stats and textR then