do -- setup buffs and debuffs
local buffs = CreateFrame("Frame", nil, self);
buffs:SetHeight(22);
buffs:SetWidth(22*10);
buffs:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 63)
buffs.size = 30
buffs.num = 5
buffs.spacing = 1
buffs["growth-y"] = "UP"
buffs["growth-x"] = "LEFT"
buffs.PostUpdateIcon = PostUpdateAura
self.Buffs = buffs
local debuffs = CreateFrame("Frame", nil, self);
debuffs:SetHeight(22);
debuffs:SetWidth(22*10);
debuffs:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -2, 34);
debuffs.size = 30
debuffs.num = 10
debuffs.spacing = 1
debuffs["growth-y"] = "UP"
debuffs["growth-x"] = "LEFT"
debuffs.onlyShowPlayer = false
debuffs.showType = false
debuffs.PostUpdateIcon = PostUpdateAura
self.Debuffs = debuffs
end
return self;