02986a2 - Add disc priest
authorAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Wed, 19 Sep 2018 22:04:32 +0000
committerAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Wed, 19 Sep 2018 22:04:32 +0000
OmaAB/ActionBars.lua
OmaRF/OmaRF.toc
OmaRF/PriestIndicators.lua [new file with mode: 0644]
OmaRF/Settings.lua
OmaUF/Settings.lua

index 82680c6..5b2233b 100644 (file)
@@ -126,6 +126,7 @@ local chars = {
         ["Gazden"] = {1, 2, 3, 4,},
         ["Gedran"] = {1, 2, 3, 4,},
         ["Iled"] = {1, 2, 3, 4,},
+        ["Gilden"] = {1, 2, 3, 4,},
     },
 };
 
index 0227052..0bae210 100644 (file)
@@ -8,6 +8,7 @@ Settings.lua
 Indicators.lua
 DruidIndicators.lua
 PaladinIndicators.lua
+PriestIndicators.lua
 ShamanIndicators.lua
 Events.lua
 RaidFrame.lua
diff --git a/OmaRF/PriestIndicators.lua b/OmaRF/PriestIndicators.lua
new file mode 100644 (file)
index 0000000..00b752e
--- /dev/null
@@ -0,0 +1,24 @@
+-- PriestIndicators.lua
+local indSize = OmaRFSettings.IndSize;
+local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb";
+
+local M = {};
+OmaRFIndicators.Class["PRIEST"] = M;
+M.Auras = {
+    [194384] = "BOTTOMRIGHT", -- Atonement
+}
+
+function M.Setup(base)
+    local inds = {};
+    inds["BOTTOMRIGHT"] = base:CreateTexture(nil, "OVERLAY");
+    inds["BOTTOMRIGHT"]:SetPoint("BOTTOMRIGHT", base, "BOTTOMRIGHT");
+    inds["BOTTOMRIGHT"]:SetWidth(indSize);
+    inds["BOTTOMRIGHT"]:SetHeight(indSize);
+    inds["BOTTOMRIGHT"]:SetTexture(rhomb);
+    inds["BOTTOMRIGHT"]:SetVertexColor(1, 0.8, 0);
+    inds["BOTTOMRIGHT"]:Hide();
+    inds["BOTTOMRIGHT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight");
+    inds["BOTTOMRIGHT"].text:SetPoint("BOTTOMRIGHT", inds["BOTTOMRIGHT"], "BOTTOMRIGHT");
+    inds["BOTTOMRIGHT"].text:Hide();
+    return inds;
+end
index 932499c..f2ceaa2 100644 (file)
@@ -88,6 +88,22 @@ local chars = {
                 ["ctrl-spell1"] = "Purify Spirit",
             },
         },
+        ["Gilden"] = {
+            AnchorX = 0,
+            AnchorY = -330,
+            Clickheal = {
+                ["type1"] = "spell",
+                ["type2"] = "spell",
+                ["shift-type1"] = "spell",
+                ["shift-type2"] = "spell",
+                ["ctrl-type1"] = "spell",
+                ["spell1"] = "Power Word: Shield",
+                ["spell2"] = "Penance",
+                ["shift-spell1"] = "Shadow Mend",
+                ["shift-spell2"] = "Shadow Covenant",
+                ["ctrl-spell1"] = "Purify",
+            },
+        },
         ["Gedran"] = {
             AnchorX = 0,
             AnchorY = -330,
index 50f31e2..837ffb9 100644 (file)
@@ -71,6 +71,22 @@ local chars = {
                 ["alt-spell2"] = "Rebirth",
             },
         },
+        ["Gilden"] = {
+            AnchorX = 0,
+            AnchorY = -330,
+            Clickheal = {
+                ["type1"] = "spell",
+                ["type2"] = "spell",
+                ["shift-type1"] = "spell",
+                ["shift-type2"] = "spell",
+                ["ctrl-type1"] = "spell",
+                ["spell1"] = "Power Word: Shield",
+                ["spell2"] = "Penance",
+                ["shift-spell1"] = "Shadow Mend",
+                ["shift-spell2"] = "Shadow Covenant",
+                ["ctrl-spell1"] = "Purify",
+            },
+        },
     },
 };