Quantcast

commented old patterns

Kevin Lyles [05-31-11 - 02:06]
commented old patterns
Filename
Locales/enUS/patterns-elixirs.lua
Locales/enUS/patterns-enchants.lua
Locales/enUS/patterns-generic.lua
Locales/enUS/patterns.lua
diff --git a/Locales/enUS/patterns-elixirs.lua b/Locales/enUS/patterns-elixirs.lua
index 3fabfdc..ff7e914 100644
--- a/Locales/enUS/patterns-elixirs.lua
+++ b/Locales/enUS/patterns-elixirs.lua
@@ -19,7 +19,7 @@ local ElixirPreprocessLines = {
 	{" critical rating ", " critical strike rating "},
 	{" maximum health ", " health "},
 	{" the chance that the player will reflect hostile spells cast on them by (%d+)%% for %d+ hrs%. +will automatically reflect the first offensive spell cast against the user", " %1%% spell reflect"},
-	{" goes up by ", " by "},
+-- 	{" goes up by ", " by "},
 	{" resistance to all schools of magic ", " all resistances "},
 	{" resistance to magic ", " all resistances "},
 }
@@ -27,7 +27,7 @@ local ElixirPreprocessLines = {
 local ElixirAffixes = {
 	"^use: +",
 	"^increases +",
-	"^your size is increased and +",
+-- 	"^your size is increased and +",
 	"^your +",
 	"^the player's +",
 	"^the target's +",
diff --git a/Locales/enUS/patterns-enchants.lua b/Locales/enUS/patterns-enchants.lua
index e7a6e4c..edfcdda 100644
--- a/Locales/enUS/patterns-enchants.lua
+++ b/Locales/enUS/patterns-enchants.lua
@@ -101,8 +101,8 @@ local EnchantAffixes = {
 	"^adds? +",
 	"^gives? +",
 	"^grants? +",
-	"^regenerates? +",
-	"^restores? +",
+-- 	"^regenerates? +",
+-- 	"^restores? +",

 	"^your +",
 	"^the +",
diff --git a/Locales/enUS/patterns-generic.lua b/Locales/enUS/patterns-generic.lua
index 8b1d14d..3bf7a8c 100644
--- a/Locales/enUS/patterns-generic.lua
+++ b/Locales/enUS/patterns-generic.lua
@@ -16,7 +16,7 @@ local GenericPreprocessLines = {
 	-- random enchant id 1470
 	{" resist shadow$", " shadow resistance"},
 	-- random enchant id -55
-	{"^%+(%d+) shadow damage$", "%1 shadow spell damage"},
+-- 	{"^%+(%d+) shadow damage$", "%1 shadow spell damage"},
 	{" to all ", " all "},
 	{" (%d+%%) stun resistance$", " chance to resist stun effects by %1"},
 	{" reduces snare/root duration by ", " snare/root duration reduced by "},
diff --git a/Locales/enUS/patterns.lua b/Locales/enUS/patterns.lua
index 1d8a98f..59600e0 100644
--- a/Locales/enUS/patterns.lua
+++ b/Locales/enUS/patterns.lua
@@ -263,7 +263,7 @@ ww_MultipleStatLines = {
 		end,
 		{"elixir"},
 	},
-	{"^([+-]?%d+) health and mana every 5 seco?n?d?s?$",
+--[[	{"^([+-]?%d+) health and mana every 5 seco?n?d?s?$",
 		function(text, pattern)
 			local start, _, value = string.find(text, pattern)
 			if start then
@@ -288,7 +288,7 @@ ww_MultipleStatLines = {
 			end
 		end,
 		{"enchant"},
-	},
+	},]]
 	{"^(%a+), (%a+),? and (%a+) spell power by (%d+)$",
 		function(text, pattern)
 			local start, _, stat1, stat2, stat3, value = string.find(text, pattern)
@@ -401,7 +401,7 @@ ww_SingleStatLines = {
 		function(text, pattern)
 			return WeightsWatcher.singleStatValueOnly(text, pattern, "hp5")
 		end,
-		{"cooldownUseEffect", "elixir", "equipEffect", "food", "generic", "useEffect"},
+		{--[["cooldownUseEffect",]] "elixir", "equipEffect", "food", "generic", "useEffect"},
 	},
 	{"^minor run speed increase$",
 		function(text, pattern)