X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/001062c21d0a4b6600278f45ee096fc587c745df..3a032367d7bcc60257d941e014c5fb6223f0fde3:/OmaRF/PaladinIndicators.lua diff --git a/OmaRF/PaladinIndicators.lua b/OmaRF/PaladinIndicators.lua index becda9b..d8b4f06 100644 --- a/OmaRF/PaladinIndicators.lua +++ b/OmaRF/PaladinIndicators.lua @@ -1,17 +1,13 @@ -- PaladinIndicators.lua -local pairs = pairs; - local indSize = OmaRFSettings.IndSize; local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb"; -local positions = {"TOPRIGHT", "BOTTOMLEFT"}; local M = {}; -OmaRFIndicators.Class["Paladin"] = M; +OmaRFIndicators.Class["PALADIN"] = M; M.Auras = { [53563] = "TOPRIGHT", -- Beacon of Light [156910] = "TOPRIGHT", -- Beacon of Faith [200025] = "TOPRIGHT", -- Beacon of Virtue - [200654] = "BOTTOMLEFT", -- Tyr's Deliverance } function M.Setup(base) @@ -23,15 +19,5 @@ function M.Setup(base) inds["TOPRIGHT"]:SetTexture(rhomb); inds["TOPRIGHT"]:SetVertexColor(1, 0, 0); inds["TOPRIGHT"]:Hide(); - inds["BOTTOMLEFT"] = base:CreateTexture(nil, "OVERLAY"); - inds["BOTTOMLEFT"]:SetPoint("BOTTOMLEFT", base, "BOTTOMLEFT"); - inds["BOTTOMLEFT"]:SetWidth(indSize); - inds["BOTTOMLEFT"]:SetHeight(indSize); - inds["BOTTOMLEFT"]:SetTexture(rhomb); - inds["BOTTOMLEFT"]:SetVertexColor(1, 0.5, 0); - inds["BOTTOMLEFT"]:Hide(); - inds["BOTTOMLEFT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight"); - inds["BOTTOMLEFT"].text:SetPoint("BOTTOMRIGHT", inds["BOTTOMLEFT"], "BOTTOMRIGHT"); - inds["BOTTOMLEFT"].text:Hide(); return inds; end