From: Aleksi Blinnikka Date: Sun, 6 Oct 2019 10:55:15 +0000 (+0300) Subject: Add priest auras and clickheal X-Git-Url: https://www.aleksib.fi/git/wowui.git/commitdiff_plain/7ff1ddc8b9fe8a53957d622f6ab9a75c81195ee3?ds=sidebyside Add priest auras and clickheal --- diff --git a/kehys/auras.lua b/kehys/auras.lua index 5361bb2..3ecd26e 100644 --- a/kehys/auras.lua +++ b/kehys/auras.lua @@ -18,6 +18,7 @@ local watchedAuras = { --[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 @@ -27,6 +28,8 @@ local watchedAuras = { [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 diff --git a/kehys/paladin.lua b/kehys/paladin.lua index 79aa7ab..b47d0b8 100644 --- a/kehys/paladin.lua +++ b/kehys/paladin.lua @@ -1,25 +1,5 @@ -- paladin.lua -local indSize = 14; -local rhomb = "Interface\\AddOns\\kuuttiRaid\\images\\rhomb"; - 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", diff --git a/kehys/priest.lua b/kehys/priest.lua new file mode 100644 index 0000000..605fbdd --- /dev/null +++ b/kehys/priest.lua @@ -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", +};