Created
November 17, 2009 00:56
-
-
Save yaroot/236503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ccp = { | |
[1] = '|cffffffff1|r', | |
[2] = '|cffffffff2|r', | |
[3] = '|cffffffff3|r', | |
[4] = '|cffffd8194|r', | |
[5] = '|cffff00005|r', | |
} | |
oUF.Tags['[leafcp]'] = function(u) | |
local cp = GetComboPoints(PlayerFrame.unit, 'target') | |
return ccp[cp] | |
end | |
oUF.TagEvents['[leafcp]'] = 'UNIT_COMBO_POINTS UNIT_TARGET' | |
local cp = self.Health:CreateFontString(nil, 'OVERLAY') | |
cp:SetFont(DAMAGE_TEXT_FONT, 25, 'OUTLINE') | |
cp:SetPoint('CENTER', UIParent, 0, -200) | |
self:Tag(cp, '[leafcp]') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment