Im trying to get a target frame to only show buffs/debuffs I can cast. I put in
auras.filter = "PLAYER" but now it doesnt show anything. Can someone tell me what im doing wrong? Here is what I have:
Code:
if(unit=="target") then
local auras = CreateFrame("Frame", nill, self)
auras.filter = "PLAYER"
auras:SetPoint("TOPLEFT", self, "BOTTOMLEFT", -2, -3)
auras.initialAnchor = "TOPLEFT"
auras["growth-x"] = "RIGHT"
auras["growth-y"] = "DOWN"
auras.numDebuffs = 8
auras:SetHeight(373)
auras:SetWidth(248)
auras.spacing = 1
auras.size = 30
auras.gap = true
self.Auras = auras
end