Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scripts for WoW - Lickmyorbs
- 3. /run UFP="UnitFramePortrait_Update" UICC="Interface\\TargetingFrame\\UI-Classes-Circles" CIT=CLASS_ICON_TCOORDS UC=UnitClass
- /run hooksecurefunc(UFP,function(self) if self.portrait then t=CIT[select(2,UC(self.unit))] if t and UnitIsPlayer(self.unit) then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(t)) else self.portrait:SetTexCoord(0,1,0,1) end end end)
- (p.s. this requires two macros)
- makes class icons appear on portrait
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement