829d203 - Remove power bar and health text
[wowui.git] / OmaRF / Settings.lua
index f6b1a93..dc84a60 100644 (file)
@@ -1,9 +1,4 @@
 -- Settings.lua
 -- Settings.lua
-local PowerTypeMana = Enum.PowerType.Mana;
-local PowerTypeRage = Enum.PowerType.Rage;
-local PowerTypeFocus = Enum.PowerType.Focus;
-local PowerTypeEnergy = Enum.PowerType.Energy;
-local PowerTypeRunic = Enum.PowerType.RunicPower;
 local rawget = rawget;
 
 -- configurable settings
 local rawget = rawget;
 
 -- configurable settings
@@ -91,13 +86,6 @@ local settings = {
     OverlayColorDispel = {1, 0.5, 0, 0.5},
     OverlayColorCharm = {0.8, 0, 1, 0.5},
     OverlayColorAlert = {1, 0, 0, 0.5},
     OverlayColorDispel = {1, 0.5, 0, 0.5},
     OverlayColorCharm = {0.8, 0, 1, 0.5},
     OverlayColorAlert = {1, 0, 0, 0.5},
-    PowerColors = {
-        [PowerTypeMana] = {0, 0.5, 1},
-        [PowerTypeRage] = {1, 0, 0},
-        [PowerTypeFocus] = {1, 0.5, 0},
-        [PowerTypeEnergy] = {1, 0.8, 0},
-        [PowerTypeRunic] = {0.8, 0, 0.2},
-    },
     MajorAuras = {
         -- Antorus
         ["Psychic Assault"] = {bar=false},
     MajorAuras = {
         -- Antorus
         ["Psychic Assault"] = {bar=false},
@@ -130,8 +118,6 @@ local settings = {
     },
 };
 OmaRFSettings = settings;
     },
 };
 OmaRFSettings = settings;
--- watch to not remove mana entry
-setmetatable(settings.PowerColors, {__index = function(t) return rawget(t, PowerTypeMana) end});
 
 function OmaRFLoadChar()
     local name, realm = UnitFullName("player");
 
 function OmaRFLoadChar()
     local name, realm = UnitFullName("player");