View Single Post
03-27-19, 08:29 PM   #6
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
Blizzard still believe they have (may have) actual World Bosses, from TargetFrame.lua

Lua Code:
  1. elseif ( classification == "minus" ) then
  2.     self.borderTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-Minus");
  3.     self.nameBackground:Hide();
  4.     self.manabar.pauseUpdates = true;
  5.     self.manabar:Hide();
  6.     self.manabar.TextString:Hide();
  7.     self.manabar.LeftText:Hide();
  8.     self.manabar.RightText:Hide();
  9.     forceNormalTexture = true;
  10. elseif ( classification == "worldboss" or classification == "elite" ) then
  11.     self.borderTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-Elite");
  12. elseif ( classification == "rareelite" ) then
  13.     self.borderTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-Rare-Elite");
  14. elseif ( classification == "rare" ) then
  15.     self.borderTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-Rare");
  16. else
  17.     self.borderTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame");
  18.     forceNormalTexture = true;
  19. end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote