7ff1ddc - Add priest auras and clickheal
authorAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Sun, 6 Oct 2019 10:55:15 +0000
committerAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Sun, 6 Oct 2019 10:55:15 +0000
kehys/auras.lua
kehys/paladin.lua
kehys/priest.lua [new file with mode: 0644]

index 5361bb2..3ecd26e 100644 (file)
@@ -18,6 +18,7 @@ local watchedAuras = {
     --[258323] = {bar=false}, -- Infected Wound
     --[262513] = {bar=false}, -- Azerite Heartseeker
     [287280] = {1, "buff1"}, -- Glimmer of Light
     --[258323] = {bar=false}, -- Infected Wound
     --[262513] = {bar=false}, -- Azerite Heartseeker
     [287280] = {1, "buff1"}, -- Glimmer of Light
+    [194384] = {1, "buff1"}, -- Atonement
     -- Tank defensives
     [6940] = {1, "tankcd"}, -- Blessing of Sacrifice
     [33206] = {1, "tankcd"}, -- Pain Suppression
     -- Tank defensives
     [6940] = {1, "tankcd"}, -- Blessing of Sacrifice
     [33206] = {1, "tankcd"}, -- Pain Suppression
@@ -27,6 +28,8 @@ local watchedAuras = {
     [196555] = {1, "tankcd"}, -- Netherwalk
     -- M+
     [209858] = {1, "stacks"}, -- Necrotic Wound (M+)
     [196555] = {1, "tankcd"}, -- Netherwalk
     -- M+
     [209858] = {1, "stacks"}, -- Necrotic Wound (M+)
+    [240559] = {1, "stacks"}, -- Grievous Wound (M+)
+    [240443] = {1, "stacks"}, -- Burst (M+)
     -- Uldir
     [265264] = {2, "alert"}, -- Void Lash (Zek'voz)
     -- Battle of Dazar'alor
     -- Uldir
     [265264] = {2, "alert"}, -- Void Lash (Zek'voz)
     -- Battle of Dazar'alor
index 79aa7ab..b47d0b8 100644 (file)
@@ -1,25 +1,5 @@
 -- paladin.lua
 -- paladin.lua
-local indSize = 14;
-local rhomb = "Interface\\AddOns\\kuuttiRaid\\images\\rhomb";
-
 local _, addon = ...;
 local _, addon = ...;
-local auras = {
-    [53563] = "TOPRIGHT", -- Beacon of Light
-    [156910] = "TOPRIGHT", -- Beacon of Faith
-    [200025] = "TOPRIGHT", -- Beacon of Virtue
-}
-addon.ClassAuras["PALADIN"] = auras;
-addon.ClassIndicators["PALADIN"] = function(base)
-    local inds = {};
-    inds["TOPRIGHT"] = base:CreateTexture(nil, "OVERLAY");
-    inds["TOPRIGHT"]:SetPoint("TOPRIGHT", base, "TOPRIGHT");
-    inds["TOPRIGHT"]:SetWidth(indSize);
-    inds["TOPRIGHT"]:SetHeight(indSize);
-    inds["TOPRIGHT"]:SetTexture(rhomb);
-    inds["TOPRIGHT"]:SetVertexColor(1, 0, 0);
-    inds["TOPRIGHT"]:Hide();
-    return inds;
-end
 addon.Clickheal["PALADIN"] = {
     ["type1"] = "spell",
     ["type2"] = "spell",
 addon.Clickheal["PALADIN"] = {
     ["type1"] = "spell",
     ["type2"] = "spell",
diff --git a/kehys/priest.lua b/kehys/priest.lua
new file mode 100644 (file)
index 0000000..605fbdd
--- /dev/null
@@ -0,0 +1,14 @@
+-- priest.lua
+local _, addon = ...;
+addon.Clickheal["PRIEST"] = {
+    ["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-macro1"] = "Purify",
+};