i never had to deal with combo points untill i started playing on my cousins rogue, and i want to see my CP's and im not getting it correctly.
lua Code:
if unit=="player" then
if(playerClass=="ROGUE") then
local CPoints = {}
for index = 1, MAX_COMBO_POINTS do
local CPoint = self.Health:CreateFontString(nil, "OVERLAY")
CPoint:SetSize(6, 6)
CPoint:SetPoint("TOPLEFT", self.Health, 0, 0)
CPoints[index] = CPoint
end
self.CPoints = CPoints
end
end
-- ---------------------------------------- or ---------------------------------------- --
if (class == "ROGUE") then
self.cpoints = self.Health:CreateTexture(nil, "OVERLAY")
self.cpoints:SetHeight(8)
self.cpoints:SetWidth(8)
self.cpoints:SetPoint("TOPRIGHT", self, -0, -6)
end
*just a snippet
anyone see anything wrong?