View Single Post
03-26-09, 01:13 PM   #945
Vranx
A Flamescale Wyrmkin
 
Vranx's Avatar
Join Date: May 2008
Posts: 101
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