-- PaladinIndicators.lua local pairs = pairs; local indSize = OmaRFSettings.IndSize; local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb"; local M = {}; OmaRFIndicators.Class["PALADIN"] = M; M.Auras = { ["Beacon of Light"] = "TOPRIGHT", ["Beacon of Faith"] = "TOPRIGHT", ["Beacon of Virtue"] = "TOPRIGHT", ["Tyr's Deliverance"] = "BOTTOMLEFT", } function M.Setup(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(); 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