From 4a3924d506c05b00fc64fffb5664995400ab9916 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Fri, 30 Jul 2010 14:56:05 -0500 Subject: [PATCH] Added subcategories for meta gem and enchant stats --- Locales/enUS/stats.lua | 1 + defaults.lua | 74 ++++++++++++++++++++++++++++++------------------ 2 files changed, 47 insertions(+), 28 deletions(-) diff --git a/Locales/enUS/stats.lua b/Locales/enUS/stats.lua index 17c8941..081a7c9 100644 --- a/Locales/enUS/stats.lua +++ b/Locales/enUS/stats.lua @@ -202,4 +202,5 @@ ww_statCategories = { ["Resistances"] = "Resistances", ["Professions"] = "Professions", ["Miscellaneous"] = "Miscellaneous", + ["Enchant/Meta Gem Effects"] = "Enchant/Meta Gem Effects", } diff --git a/defaults.lua b/defaults.lua index 5ef1b5b..f04b08f 100644 --- a/defaults.lua +++ b/defaults.lua @@ -12,19 +12,22 @@ ww_trackedStats = { "haste rating", ww_statCategories["DPS"], [ww_statCategories["DPS"]] = { - "critical damage (percent)", "hit rating", - "threat reduction (percent)", + ww_statCategories["Enchant/Meta Gem Effects"], + [ww_statCategories["Enchant/Meta Gem Effects"]] = { + "critical damage (percent)", + "threat reduction (percent)", + }, }, }, [ww_statCategories["Physical DPS"]] = { "agility", "armor penetration rating", "attack power", - "chance to increase physical haste", "strength", ww_statCategories["Melee DPS"], ww_statCategories["Ranged DPS"], + ww_statCategories["Enchant/Meta Gem Effects"], [ww_statCategories["Melee DPS"]] = { "feral attack power", "expertise rating", @@ -47,32 +50,37 @@ ww_trackedStats = { "rangedDamage", ["rangedDamage"] = "ww_triggerFrame", }, + [ww_statCategories["Enchant/Meta Gem Effects"]] = { + "chance to increase physical haste", + }, }, [ww_statCategories["Tanking"]] = { "armor", - "armor from items (percent)", "block rating", "block value", - "block value (percent)", - "chance to restore health on hit", "defense rating", "dodge rating", "health", "hp5", "parry rating", - "spell damage taken reduction (percent)", "stamina", - "threat (percent)", + ww_statCategories["Enchant/Meta Gem Effects"], + [ww_statCategories["Enchant/Meta Gem Effects"]] = { + "armor from items (percent)", + "block value (percent)", + "chance to restore health on hit", + "spell damage taken reduction (percent)", + "threat (percent)", + }, }, [ww_statCategories["Caster"]] = { - "chance to increase spell haste", "intellect", - "intellect (percent)", "spell critical strike rating", "spell power", "spirit", ww_statCategories["DPS"], ww_statCategories["Healing"], + ww_statCategories["Enchant/Meta Gem Effects"], [ww_statCategories["DPS"]] = { "spell hit rating", "arcane spell damage", @@ -85,33 +93,43 @@ ww_trackedStats = { ["harmfulSpell"] = "ww_triggerFrame", }, [ww_statCategories["Healing"]] = { - "chance to restore mana on spellcast", - "critical healing (percent)", "mana", - "mana (percent)", "mp5", "helpfulSpell", + ww_statCategories["Enchant/Meta Gem Effects"], ["helpfulSpell"] = "ww_triggerFrame", + [ww_statCategories["Enchant/Meta Gem Effects"]] = { + "chance to restore mana on spellcast", + "critical healing (percent)", + "mana (percent)", + }, + }, + [ww_statCategories["Enchant/Meta Gem Effects"]] = { + "chance to increase spell haste", + "intellect (percent)", }, }, [ww_statCategories["PVP"]] = { - "chance to stun target", - "increased stealth", - "minor run speed", "resilience rating", - "sometimes heal on your crits", "spell penetration", - ww_statCategories["CC Resists/Reductions"], - [ww_statCategories["CC Resists/Reductions"]] = { - "disarm duration reduction (percent)", - "disorient resist chance (percent)", - "fear duration reduction (percent)", - "fear resist chance (percent)", - "silence duration reduction (percent)", - "snare/root duration reduction (percent)", - "spell reflect (percent)", - "stun duration reduction (percent)", - "stun resist chance (percent)", + ww_statCategories["Enchant/Meta Gem Effects"], + [ww_statCategories["Enchant/Meta Gem Effects"]] = { + "chance to stun target", + "increased stealth", + "minor run speed", + "sometimes heal on your crits", + ww_statCategories["CC Resists/Reductions"], + [ww_statCategories["CC Resists/Reductions"]] = { + "disarm duration reduction (percent)", + "disorient resist chance (percent)", + "fear duration reduction (percent)", + "fear resist chance (percent)", + "silence duration reduction (percent)", + "snare/root duration reduction (percent)", + "spell reflect (percent)", + "stun duration reduction (percent)", + "stun resist chance (percent)", + }, }, }, [ww_statCategories["Miscellaneous"]] = { -- 1.7.9.5