Quantcast

Removed a few obsolete stats

Kevin Lyles [02-24-13 - 17:14]
Removed a few obsolete stats
Filename
Locales/enUS/patterns-equip-stats.lua
Locales/enUS/patterns.lua
Locales/enUS/stats.lua
WeightsWatcher.lua
defaults.lua
diff --git a/Locales/enUS/patterns-equip-stats.lua b/Locales/enUS/patterns-equip-stats.lua
index 2b91777..5ed928d 100644
--- a/Locales/enUS/patterns-equip-stats.lua
+++ b/Locales/enUS/patterns-equip-stats.lua
@@ -20,9 +20,6 @@ local EquipStatsUnweightedLines = {
 }

 local EquipStatsPreprocessLines = {
-	-- Should be obsolete
-	--{" the block value of your shield ", " block value "},
-	--{" shield block ", " block "},
 	{" effective stealth level%.$", " effective stealth level by 1"},
 	{" stealth slightly%.$", " effective stealth level by 1"},
 	{" run speed increased slightly%.$", " minor run speed increase"},
diff --git a/Locales/enUS/patterns.lua b/Locales/enUS/patterns.lua
index 08888d7..91c36e3 100644
--- a/Locales/enUS/patterns.lua
+++ b/Locales/enUS/patterns.lua
@@ -358,7 +358,6 @@ ww_SingleStatLines = {
 	{"^([+-]?%d+) (block value)$", WeightsWatcher.statNumFirst, {"cooldownUseEffect", "enchant", "equipEffect", "generic", "socketBonus"}},
 	-- random suffix enchants
 	{"^([+-]?%d+) (%a+ spell damage)$", WeightsWatcher.statNumFirst, {"cooldownUseEffect", "generic"}},
-	{"^([+-]?%d+) (spell penetration)$", WeightsWatcher.statNumFirst, {"enchant", "equipEffect", "generic"}},
 	{"^([+-]?%d+) health [ep]v?ery? 5 seco?n?d?s?%.?$",
 		function(text, pattern)
 			return WeightsWatcher.singleStatValueOnly(text, pattern, "hp5")
diff --git a/Locales/enUS/stats.lua b/Locales/enUS/stats.lua
index 80c9a11..0a7e649 100644
--- a/Locales/enUS/stats.lua
+++ b/Locales/enUS/stats.lua
@@ -118,8 +118,6 @@ ww_localizedStats = {
 	["ranged haste"] = "ranged haste",
 	["ranged hit"] = "ranged hit",
 	["ranged weapon speed"] = "ranged weapon speed",
--- 	["requires level"] = "requires level",
--- 	["resilience"] = "resilience",
 	["river's song"] = "river's song",
 	["rune of cinderglacier"] = "rune of cinderglacier",
 	["rune of razorice"] = "rune of razorice",
@@ -133,7 +131,6 @@ ww_localizedStats = {
 	["spell critical strike"] = "spell critical strike",
 	["spell damage taken reduction (percent)"] = "spell damage taken reduction (percent)",
 	["spell hit"] = "spell hit",
-	["spell penetration"] = "spell penetration",
 	["spell power"] = "spell power",
 	["spell reflect (percent)"] = "spell reflect (percent)",
 	["spellsurge"] = "spellsurge",
@@ -275,8 +272,6 @@ ww_statDisplayNames = {
 	[ww_localizedStats["ranged haste"]] = "Ranged Haste",
 	[ww_localizedStats["ranged hit"]] = "Ranged Hit",
 	[ww_localizedStats["ranged weapon speed"]] = "Ranged Weapon Speed",
--- 	[ww_localizedStats["requires level"]] = "Requires Level",
--- 	[ww_localizedStats["resilience"]] = "Resilience",
 	[ww_localizedStats["river's song"]] = "River's Song",
 	[ww_localizedStats["rune of cinderglacier"]] = "Rune of Cinderglacier",
 	[ww_localizedStats["rune of razorice"]] = "Rune of Razorice",
@@ -290,7 +285,6 @@ ww_statDisplayNames = {
 	[ww_localizedStats["spell critical strike"]] = "Spell Critical Strike",
 	[ww_localizedStats["spell damage taken reduction (percent)"]] = "Spell Damage Taken Reduction (Percent)",
 	[ww_localizedStats["spell hit"]] = "Spell Hit",
-	[ww_localizedStats["spell penetration"]] = "Spell Penetration",
 	[ww_localizedStats["spell power"]] = "Spell Power",
 	[ww_localizedStats["spell reflect (percent)"]] = "Spell Reflect (Percent)",
 	[ww_localizedStats["spellsurge"]] = "Spellsurge",
diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua
index 141e5ce..8e55e43 100644
--- a/WeightsWatcher.lua
+++ b/WeightsWatcher.lua
@@ -181,7 +181,6 @@ local normalizedStats = {
 	"expertise",
 	"haste",
 	"hit",
-	"spell penetration",
 	"spell power",
 	"melee dps",
 	"average melee weapon damage",
diff --git a/defaults.lua b/defaults.lua
index 53d3171..6f1af26 100644
--- a/defaults.lua
+++ b/defaults.lua
@@ -136,7 +136,6 @@ ww_trackedStats = {
 	[ww_statCategories["PVP"]] = {
 		"pvp power",
 		"pvp resilience",
-		"spell penetration",
 		ww_statCategories["Enchant/Meta Gem Effects"],
 		[ww_statCategories["Enchant/Meta Gem Effects"]] = {
 			"chance to stun target",