X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/5e453fca39c69856e27a063146a32c0ee13a52b7..157889e84b5bdb7d54a0ce87ed5b887ae4c9d966:/OmaRF/PaladinIndicators.lua?ds=sidebyside diff --git a/OmaRF/PaladinIndicators.lua b/OmaRF/PaladinIndicators.lua index 762a525..d8b4f06 100644 --- a/OmaRF/PaladinIndicators.lua +++ b/OmaRF/PaladinIndicators.lua @@ -1,16 +1,13 @@ -- 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", + [53563] = "TOPRIGHT", -- Beacon of Light + [156910] = "TOPRIGHT", -- Beacon of Faith + [200025] = "TOPRIGHT", -- Beacon of Virtue } function M.Setup(base) @@ -22,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