added default variables, including temporary weights for each class
Kevin Lyles [10-23-09 - 22:21]
added default variables, including temporary weights for each class
diff --git a/WeightsWatcher.toc b/WeightsWatcher.toc
index 734f50b..2bfebaf 100644
--- a/WeightsWatcher.toc
+++ b/WeightsWatcher.toc
@@ -15,6 +15,7 @@ Libs\AceEvent-2.0\AceEvent-2.0.lua
Libs\AceHook-2.1\AceHook-2.1.lua
GemIds.lua
+config.lua
Regexps.lua
HiddenTooltip.xml
WeightsWatcher.lua
diff --git a/config.lua b/config.lua
new file mode 100644
index 0000000..d19dd1a
--- /dev/null
+++ b/config.lua
@@ -0,0 +1,63 @@
+defaultVars = {
+ weightsList = {
+ ["ROGUE"] = {
+ ["Default"] = {
+ ["Attack Power"] = 100,
+ },
+ },
+ ["PRIEST"] = {
+ ["Default"] = {
+ ["Spell Power"] = 100,
+ ["Intellect"] = 65,
+ },
+ ["Default2"] = {
+ ["Spell Power"] = 100,
+ ["Intellect"] = 50,
+ },
+ },
+ ["MAGE"] = {
+ ["Default"] = {
+ ["Critical Strike Rating"] = 90,
+ },
+ },
+ ["WARLOCK"] = {
+ ["Default"] = {
+ ["Haste"] = 80,
+ },
+ },
+ ["HUNTER"] = {
+ ["Default"] = {
+ ["Agility"] = 100,
+ },
+ },
+ ["WARRIOR"] = {
+ ["Default"] = {
+ ["Hit Rating"] = 75,
+ },
+ },
+ ["DRUID"] = {
+ ["Default"] = {
+ ["Agility"] = 100,
+ },
+ },
+ ["SHAMAN"] = {
+ ["Default"] = {
+ ["Agility"] = 80,
+ },
+ },
+ ["DEATHKNIGHT"] = {
+ ["Default"] = {
+ ["Strength"] = 75,
+ },
+ },
+ ["PALADIN"] = {
+ ["Default"] = {
+ ["Strength"] = 80,
+ },
+ },
+ },
+}
+
+defaultCharVars = {
+ activeWeights = {},
+}