-- 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;
[53563] = "TOPRIGHT", -- Beacon of Light
[156910] = "TOPRIGHT", -- Beacon of Faith
[200025] = "TOPRIGHT", -- Beacon of Virtue
- [200654] = "BOTTOMLEFT", -- Tyr's Deliverance
}
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