Quantcast
WoWInterface - View Single Post - Azerite Item borders
View Single Post
10-07-18, 11:05 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 531
https://addon.bool.no

Lua Code:
  1. hooksecurefunc("GameTooltip_SetBackdropStyle",function(self,style)
  2.     if style==GAME_TOOLTIP_BACKDROP_STYLE_AZERITE_ITEM then
  3.         GameTooltip_SetBackdropStyle(self,GAME_TOOLTIP_BACKDROP_STYLE_DEFAULT)
  4.     end
  5. end)
  6. for k,v in pairs(PaperDollItemsFrame.EquipmentSlots) do
  7.     hooksecurefunc(v,"SetAzeriteItem",function(self,item)
  8.         if item then
  9.             self:SetAzeriteItem()
  10.             if C_AzeriteItem.IsAzeriteItem(item) then
  11.                 self.RankFrame:SetShown(true)
  12.                 self:UpdateAzeriteRank(item)
  13.             end
  14.         end
  15.     end)
  16. end

Last edited by Kanegasi : 10-07-18 at 12:34 PM. Reason: hide character item art but show heart level
  Reply With Quote