Skip to content

Instantly share code, notes, and snippets.

@strattondev
Created October 5, 2013 21:29
Show Gist options
  • Save strattondev/6846258 to your computer and use it in GitHub Desktop.
Save strattondev/6846258 to your computer and use it in GitHub Desktop.
if C.aura.boss_buffs == true then
self.Auras = CreateFrame("Frame", nil, self)
if C.unitframe.boss_on_right == true then
self.Auras:SetPoint("RIGHT", self, "LEFT", -5, 0)
self.Auras.initialAnchor = "RIGHT"
self.Auras["growth-x"] = "LEFT"
else
self.Auras:SetPoint("LEFT", self, "RIGHT", 5, 0)
self.Auras.initialAnchor = "LEFT"
self.Auras["growth-x"] = "RIGHT"
end
self.Auras.numDebuffs = 5
self.Auras.numBuffs = 0
self.Auras:SetHeight(31)
self.Auras:SetWidth(174)
self.Auras.spacing = T.Scale(3)
self.Auras.size = T.Scale(31)
self.Auras.gap = false
self.Auras.PostCreateIcon = T.PostCreateAura
self.Auras.PostUpdateIcon = T.PostUpdateIcon
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment