0973648 - Change update CD throttling to not always update twice
[wowui.git] / OmaUF / Settings.lua
index a73a9e7..7059cfa 100644 (file)
@@ -9,8 +9,6 @@ local rawget = rawget;
 -- configurable settings
 -- character specific settings
 local charDefaults = {
-    Width = 80,
-    Height = 40,
     AnchorX = 0,
     AnchorY = -330,
     Clickheal = {
@@ -19,16 +17,12 @@ local charDefaults = {
 local chars = {
     ["Stormreaver"] = {
         ["Vildan"] = {
-            Width = 160,
-            Height = 50,
-            AnchorX = 0,
-            AnchorY = -330,
             Clickheal = {
                 ["type1"] = "spell",
                 ["type2"] = "spell",
                 ["shift-type1"] = "spell",
                 ["shift-type2"] = "spell",
-                ["ctrl-type1"] = "spell",
+                ["ctrl-type1"] = "macro",
                 ["alt-type2"] = "spell",
                 ["alt-shift-type1"] = "spell",
                 ["alt-shift-type2"] = "spell",
@@ -36,17 +30,13 @@ local chars = {
                 ["spell2"] = "Bestow Faith",
                 ["shift-spell1"] = "Flash of Light",
                 ["shift-spell2"] = "Light of the Martyr",
-                ["ctrl-spell1"] = "Cleanse",
+                ["ctrl-macro1"] = "Cleansing",
                 ["alt-spell2"] = "Lay on Hands",
                 ["alt-shift-spell1"] = "Beacon of Light",
                 ["alt-shift-spell2"] = "Beacon of Faith",
             },
         },
         ["Gedren"] = {
-            Width = 160,
-            Height = 50,
-            AnchorX = 0,
-            AnchorY = -330,
             Clickheal = {
                 ["type1"] = "spell",
                 ["type2"] = "spell",
@@ -67,6 +57,30 @@ local chars = {
 
 -- account-wide settings
 local settings = {
+    Player = {
+        Width = 160,
+        Height = 50,
+        AnchorX = -300,
+        AnchorY = -175,
+    },
+    Pet = {
+        Width = 80,
+        Height = 25,
+        AnchorX = -10,
+        AnchorY = 0,
+    },
+    Target = {
+        Width = 160,
+        Height = 50,
+        AnchorX = 300,
+        AnchorY = -175,
+    },
+    Boss = {
+        Width = 140,
+        Height = 30,
+        AnchorX = 550,
+        AnchorY = 300,
+    },
     BaseColor = {0, 0, 0, 0.5},
     BgColor = {0.1, 0.1, 0.1, 0.4},
     HealthColor = {0.5, 0.5, 0.5},
@@ -74,9 +88,6 @@ local settings = {
     ShieldhlColor = {0.5, 0.8, 1},
     HealpredColor = {0.5, 0.6, 0.5},
     HealabsorbColor = {0.1, 0.1, 0.1},
-    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},
@@ -84,26 +95,6 @@ local settings = {
         [PowerTypeEnergy] = {1, 0.8, 0},
         [PowerTypeRunic] = {0.8, 0, 0.2},
     },
-    MajorAuras = {
-        -- Antorus
-        ["Psychic Assault"] = true,
-        ["Everburning Flames"] = true,
-        ["Corrupt"] = true,
-        ["Sleep Canister"] = true,
-        ["Misery"] = true,
-        ["Necrotic Embrace"] = true,
-        ["Fulminating Pulse"] = true,
-        ["Chilled Blood"] = true,
-        ["Soulblight"] = true,
-        ["Soulburst"] = true,
-        ["Soulbomb"] = true,
-        -- Proving Grounds for testing
-        ["Aqua Bomb"] = true,
-        -- Mythic+
-        [209858] = true, -- Necrotic Rot
-        [240559] = true, -- Grievous Wound
-        [240443] = true, -- Burst
-    },
 };
 OmaUFSettings = settings;
 -- watch to not remove mana entry