From 875c87e09066367d69d39b51bde0148b4a3ec01b Mon Sep 17 00:00:00 2001 From: Aleksi Blinnikka Date: Sun, 4 Feb 2018 04:52:32 +0200 Subject: [PATCH 1/1] Change DruidIndicators to spellIDs, remove dead code --- OmaRF/DruidIndicators.lua | 18 +++++++++--------- OmaRF/PaladinIndicators.lua | 1 - 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/OmaRF/DruidIndicators.lua b/OmaRF/DruidIndicators.lua index 9871fdc..82f3a48 100644 --- a/OmaRF/DruidIndicators.lua +++ b/OmaRF/DruidIndicators.lua @@ -4,28 +4,28 @@ local pairs = pairs; local indSize = OmaRFSettings.IndSize; local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb"; local square = "Interface\\AddOns\\OmaRF\\images\\square"; -local positions = {"TOPLEFT"}; local M = {}; OmaRFIndicators.Class["DRUID"] = M; M.Auras = { - ["Lifebloom"] = "TOPLEFT", - ["Rejuvenation"] = "TR1", - ["Cenarion Ward"] = "TR2", - ["Spring Blossoms"] = "TR3", - ["Regrowth"] = "TR4", - ["Cultivation"] = "TR5", + [33763] = "TOPLEFT", -- Lifebloom + [774] = "TR1", -- Rejuvenation + [102352] = "TR2", -- Cenarion Ward (102351 is the 30-sec buff before the HoT) + [207386] = "TR3", -- Spring Blossoms (207385 is the talent) + [155777] = "TR3", -- Germination (either Spring Blossoms or this taken) + [8936] = "TR4", -- Regrowth + [200389] = "TR5", -- Cultivation } function M.Setup(base) local inds = {}; - for _, pos in pairs(positions) do + for _, pos in pairs({"TOPLEFT"}) do inds[pos] = base:CreateTexture(nil, "OVERLAY"); inds[pos]:SetPoint(pos, base, pos); inds[pos]:SetWidth(indSize); inds[pos]:SetHeight(indSize); inds[pos]:SetTexture(rhomb); - inds[pos]:SetVertexColor(0, 1, 0); + inds[pos]:SetVertexColor(0, 1, 0.5); inds[pos]:Hide(); inds[pos].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight"); inds[pos].text:SetPoint("BOTTOMRIGHT", inds[pos], "BOTTOMRIGHT"); diff --git a/OmaRF/PaladinIndicators.lua b/OmaRF/PaladinIndicators.lua index fdb5950..e81954b 100644 --- a/OmaRF/PaladinIndicators.lua +++ b/OmaRF/PaladinIndicators.lua @@ -3,7 +3,6 @@ local pairs = pairs; local indSize = OmaRFSettings.IndSize; local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb"; -local positions = {"TOPRIGHT", "BOTTOMLEFT"}; local M = {}; OmaRFIndicators.Class["PALADIN"] = M; -- 2.39.5