View Single Post
01-07-13, 05:47 PM   #4
Tolchock
A Murloc Raider
Join Date: Jan 2013
Posts: 4
Thank's for your answers, but I changed my mind and now use a script, which changes the player portrait to the class icon.

UFP = "UnitFramePortrait_Update"
UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"
CIT = CLASS_ICON_TCOORDS
hooksecurefunc(UFP,function(self) if self.portrait then local t = CIT[select(2,UnitClass(self.unit))] if t then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(t)) end end end)
  Reply With Quote