3307391 - Reduce number of UnitAura calls for each UNIT_AURA event
[wowui.git] / OmaRF / PaladinIndicators.lua
index 762a525..d8b4f06 100644 (file)
@@ -1,16 +1,13 @@
 -- PaladinIndicators.lua
 -- PaladinIndicators.lua
-local pairs = pairs;
-
 local indSize = OmaRFSettings.IndSize;
 local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb";
 
 local M = {};
 OmaRFIndicators.Class["PALADIN"] = M;
 M.Auras = {
 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)
 }
 
 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["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
     return inds;
 end