X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/875c87e09066367d69d39b51bde0148b4a3ec01b..971304090ee92e27a82533041bd6b222b702552c:/OmaRF/DruidIndicators.lua?ds=sidebyside diff --git a/OmaRF/DruidIndicators.lua b/OmaRF/DruidIndicators.lua index 82f3a48..59e3c96 100644 --- a/OmaRF/DruidIndicators.lua +++ b/OmaRF/DruidIndicators.lua @@ -10,27 +10,25 @@ OmaRFIndicators.Class["DRUID"] = M; M.Auras = { [33763] = "TOPLEFT", -- Lifebloom [774] = "TR1", -- Rejuvenation - [102352] = "TR2", -- Cenarion Ward (102351 is the 30-sec buff before the HoT) + [102352] = "TR2", -- Cenarion Ward (102351 is the pre-buff) [207386] = "TR3", -- Spring Blossoms (207385 is the talent) - [155777] = "TR3", -- Germination (either Spring Blossoms or this taken) + [155777] = "TR3", -- Germination (either this or Spring Blossoms taken) [8936] = "TR4", -- Regrowth [200389] = "TR5", -- Cultivation } function M.Setup(base) local inds = {}; - 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.5); - inds[pos]:Hide(); - inds[pos].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight"); - inds[pos].text:SetPoint("BOTTOMRIGHT", inds[pos], "BOTTOMRIGHT"); - inds[pos].text:Hide(); - end + inds["TOPLEFT"] = base:CreateTexture(nil, "OVERLAY"); + inds["TOPLEFT"]:SetPoint("TOPLEFT", base, "TOPLEFT"); + inds["TOPLEFT"]:SetWidth(indSize); + inds["TOPLEFT"]:SetHeight(indSize); + inds["TOPLEFT"]:SetTexture(rhomb); + inds["TOPLEFT"]:SetVertexColor(0, 1, 0.5); + inds["TOPLEFT"]:Hide(); + inds["TOPLEFT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight"); + inds["TOPLEFT"].text:SetPoint("BOTTOMRIGHT", inds["TOPLEFT"], "BOTTOMRIGHT"); + inds["TOPLEFT"].text:Hide(); for _, pos in pairs({"TR1", "TR2", "TR3", "TR4", "TR5"}) do inds[pos] = base:CreateTexture(nil, "OVERLAY"); inds[pos]:SetWidth(indSize/2);