X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/971304090ee92e27a82533041bd6b222b702552c..52f2ef034b1fad1d0fa815270adee20afd295414:/kehys/paladin.lua diff --git a/kehys/paladin.lua b/kehys/paladin.lua index 79aa7ab..08b8e57 100644 --- a/kehys/paladin.lua +++ b/kehys/paladin.lua @@ -1,39 +1,21 @@ -- 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", ["shift-type1"] = "spell", - ["shift-type2"] = "spell", + ["shift-type2"] = "macro", ["ctrl-type1"] = "macro", + ["ctrl-type2"] = "spell", ["alt-type2"] = "spell", ["alt-shift-type1"] = "spell", ["alt-shift-type2"] = "spell", ["spell1"] = "Holy Light", - ["spell2"] = "Bestow Faith", + ["spell2"] = "Word of Glory", ["shift-spell1"] = "Flash of Light", - ["shift-spell2"] = "Light of the Martyr", - ["ctrl-macro1"] = "Cleansing", + ["shift-macrotext2"] = "/cast [@mouseover,talent:1/2] Bestow Faith; [@mouseover] Light of the Martyr", + ["ctrl-macrotext1"] = "/cast [@mouseover,help,nodead,spec:1] Cleanse; [@mouseover,help,nodead] Cleanse Toxins", + ["ctrl-spell2"] = "Blessing of Freedom", ["alt-spell2"] = "Lay on Hands", ["alt-shift-spell1"] = "Beacon of Light", ["alt-shift-spell2"] = "Beacon of Faith",