function Player:CreateComboFrame()
if self.frame.combo then
return
end
self.frame.combo = CreateFrame("Frame", nil, self.frame, "ClassPowerBarFrame")
Mixin(self.frame.combo, ClassPowerBar, ComboPointPowerBar)
self.frame.combo:SetSize(126, 18)
self.frame.combo.Background = self.frame.combo:CreateTexture("Overlay")
self.frame.combo.Background:SetAtlas("ComboPoints-AllPointsBG")
self.frame.combo.Background:SetAllPoints(self.frame.combo)
self.frame.combo.Combo1 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointPlayerTemplate")
self.frame.combo.Combo1:SetPoint("TopLeft", self.frame.combo, "TopLeft", 12, -4)
self.frame.combo.Combo2 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointPlayerTemplate")
self.frame.combo.Combo2:SetPoint("Left", self.frame.combo.Combo1, "Right", 1, 0)
self.frame.combo.Combo3 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointPlayerTemplate")
self.frame.combo.Combo3:SetPoint("Left", self.frame.combo.Combo2, "Right", 1, 0)
self.frame.combo.Combo4 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointPlayerTemplate")
self.frame.combo.Combo4:SetPoint("Left", self.frame.combo.Combo3, "Right", 1, 0)
self.frame.combo.Combo5 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointPlayerTemplate")
self.frame.combo.Combo5:SetPoint("Left", self.frame.combo.Combo4, "Right", 1, 0)
self.frame.combo.Combo6 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointPlayerTemplate")
self.frame.combo.Combo6:SetPoint("Left", self.frame.combo.Combo5, "Right", 1, 0)
self.frame.combo.ComboPoints = { }
self.frame.combo.ComboPoints[1] = self.frame.combo.Combo1
self.frame.combo.ComboPoints[2] = self.frame.combo.Combo2
self.frame.combo.ComboPoints[3] = self.frame.combo.Combo3
self.frame.combo.ComboPoints[4] = self.frame.combo.Combo4
self.frame.combo.ComboPoints[5] = self.frame.combo.Combo5
self.frame.combo.ComboPoints[6] = self.frame.combo.Combo6
self.frame.combo.Combo1:SetSize(20, 20)
self.frame.combo.Combo2:SetSize(20, 20)
self.frame.combo.Combo3:SetSize(20, 20)
self.frame.combo.Combo4:SetSize(20, 20)
self.frame.combo.Combo5:SetSize(20, 20)
self.frame.combo.Combo6:SetSize(20, 20)
self.frame.combo.Combo1.PointOff:SetSize(20, 20)
self.frame.combo.Combo2.PointOff:SetSize(20, 20)
self.frame.combo.Combo3.PointOff:SetSize(20, 20)
self.frame.combo.Combo4.PointOff:SetSize(20, 20)
self.frame.combo.Combo5.PointOff:SetSize(20, 20)
self.frame.combo.Combo6.PointOff:SetSize(20, 20)
self.frame.combo.Combo1.Point:SetSize(20, 20)
self.frame.combo.Combo2.Point:SetSize(20, 20)
self.frame.combo.Combo3.Point:SetSize(20, 20)
self.frame.combo.Combo4.Point:SetSize(20, 20)
self.frame.combo.Combo5.Point:SetSize(20, 20)
self.frame.combo.Combo6.Point:SetSize(20, 20)
self.frame.combo.Combo1.Point:SetTexture("Interface\\Common\\Indicator-Red")
self.frame.combo.Combo2.Point:SetTexture("Interface\\Common\\Indicator-Red")
self.frame.combo.Combo3.Point:SetTexture("Interface\\Common\\Indicator-Red")
self.frame.combo.Combo4.Point:SetTexture("Interface\\Common\\Indicator-Red")
self.frame.combo.Combo5.Point:SetTexture("Interface\\Common\\Indicator-Red")
self.frame.combo.Combo6.Point:SetTexture("Interface\\Common\\Indicator-Red")
self.frame.combo.ComboBonus1 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointBonusPlayerTemplate")
self.frame.combo.ComboBonus1:SetPoint("TopLeft", self.frame.combo, "TopLeft", 7, 0)
self.frame.combo.ComboBonus2 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointBonusPlayerTemplate")
self.frame.combo.ComboBonus2:SetPoint("Left", self.frame.combo.ComboBonus1, "Right", 12, 0)
self.frame.combo.ComboBonus3 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointBonusPlayerTemplate")
self.frame.combo.ComboBonus3:SetPoint("Left", self.frame.combo.ComboBonus2, "Right", 12, 0)
self.frame.combo.ComboBonus4 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointBonusPlayerTemplate")
self.frame.combo.ComboBonus4:SetPoint("Left", self.frame.combo.ComboBonus3, "Right", 12, 0)
self.frame.combo.ComboBonus5 = CreateFrame("Frame", nil, self.frame.combo, "ComboPointBonusPlayerTemplate")
self.frame.combo.ComboBonus5:SetPoint("Left", self.frame.combo.ComboBonus4, "Right", 12, 0)
self.frame.combo.ComboBonus = { }
self.frame.combo.ComboBonus[1] = self.frame.combo.ComboBonus1
self.frame.combo.ComboBonus[2] = self.frame.combo.ComboBonus2
self.frame.combo.ComboBonus[3] = self.frame.combo.ComboBonus3
self.frame.combo.ComboBonus[4] = self.frame.combo.ComboBonus4
self.frame.combo.ComboBonus[5] = self.frame.combo.ComboBonus5
self.frame.combo.ComboBonus[1]:SetSize(10, 10)
self.frame.combo.ComboBonus[2]:SetSize(10, 10)
self.frame.combo.ComboBonus[3]:SetSize(10, 10)
self.frame.combo.ComboBonus[4]:SetSize(10, 10)
self.frame.combo.ComboBonus[5]:SetSize(10, 10)
self.frame.combo:OnLoad()
self.frame.combo:SetScript("OnEvent", self.frame.combo.OnEvent)
self.frame.combo.class = self.unitClass
end