Thread Tools Display Modes
10-07-18, 10:17 AM   #1
feraldrood
A Theradrim Guardian
 
feraldrood's Avatar
Join Date: Dec 2008
Posts: 62
Azerite Item borders

Looking for a way to disable or replace the border textures on Azerite items in the character pane and tooltips. Anyone know of an addon already doing so?
  Reply With Quote
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: 666
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
10-07-18, 12:30 PM   #3
feraldrood
A Theradrim Guardian
 
feraldrood's Avatar
Join Date: Dec 2008
Posts: 62
Well that was fast!

thanks much Kanegashi!

Last edited by feraldrood : 10-08-18 at 01:19 PM.
  Reply With Quote
10-07-18, 12:35 PM   #4
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
I was in the middle of editing it. Make sure you have the current code shown.
  Reply With Quote
02-17-20, 11:41 PM   #5
Viper_0000
A Kobold Labourer
AddOn Compiler - Click to view compilations
Join Date: Dec 2006
Posts: 1
Would it be possible to get the corruption item version of this code please?

Update: Think I figured it out!

Code:
hooksecurefunc("GameTooltip_SetBackdropStyle",function(self,style)
    if style==GAME_TOOLTIP_BACKDROP_STYLE_CORRUPTED_ITEM then
        GameTooltip_SetBackdropStyle(self,GAME_TOOLTIP_BACKDROP_STYLE_DEFAULT)
    end
end

Last edited by Viper_0000 : 02-18-20 at 12:06 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Azerite Item borders

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off