stoneharry

Untitled

Dec 10th, 2012
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1.  
  2. // UnitFrames.lua of frame XML, around line 90
  3.  
  4. function UnitFramePortrait_Update (self)
  5.     if ( self.portrait ) then
  6.         if (GetUnitName(self.unit) == "The Baked God") then
  7.             self.portrait:SetTexture("Interface\\New Folder\\TrollImage"); // save as BLP format
  8.         else
  9.             SetPortraitTexture(self.portrait, self.unit); // normal
  10.         end
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment