9c6a1a5 - Don't show healthstone warning if you are dead
[wowui.git] / OmaRF / ShamanIndicators.lua
1 -- PaladinIndicators.lua
2 local pairs = pairs;
3
4 local indSize = OmaRFSettings.IndSize;
5 local rhomb = "Interface\\AddOns\\OmaRF\\images\\rhomb";
6
7 local M = {};
8 OmaRFIndicators.Class["SHAMAN"] = M;
9 M.Auras = {
10     ["Riptide"] = "TOPRIGHT",
11 }
12
13 function M.Setup(base)
14     local inds = {};
15     inds["TOPRIGHT"] = base:CreateTexture(nil, "OVERLAY");
16     inds["TOPRIGHT"]:SetPoint("TOPRIGHT", base, "TOPRIGHT");
17     inds["TOPRIGHT"]:SetWidth(indSize);
18     inds["TOPRIGHT"]:SetHeight(indSize);
19     inds["TOPRIGHT"]:SetTexture(rhomb);
20     inds["TOPRIGHT"]:SetVertexColor(0, 0.5, 1);
21     inds["TOPRIGHT"]:Hide();
22     inds["TOPRIGHT"].text = base:CreateFontString(nil, "OVERLAY", "GameFontHighlight");
23     inds["TOPRIGHT"].text:SetPoint("BOTTOMRIGHT", inds["TOPRIGHT"], "BOTTOMRIGHT");
24     inds["TOPRIGHT"].text:Hide();
25     return inds;
26 end