SHARE
TWEET

Untitled

a guest Jun 25th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - This file is loaded from "odell.toc"
  2.  
  3. local Frame = CreateFrame("Frame")
  4. Frame:RegisterEvent("PLAYER_LOGIN")
  5. Frame:SetScript("OnEvent", function(...)
  6.  
  7. UIP=UnitIsPlayer RCC=RAID_CLASS_COLORS UC=UnitClass UIC=UnitIsConnected
  8. f=CreateFrame("FRAME") f: RegisterEvent("PLAYER_TARGET_CHANGED") f:RegisterEvent ("PLAYER_FOCUS_CHANGED") f:RegisterEvent("UNIT_FACTION")
  9. function colour(sb,unit) if UIP(unit) and UIC(unit) and unit==sb.unit and UC(unit) then _,cl=UC(unit) c=RAID_CLASS_COLORS[cl] sb:SetStatusBarColor(c.r,c.g,c.b) end end
  10. hooksecurefunc("UnitFrameHealthBar_Update", colour) hooksecurefunc ("HealthBar_OnValueChanged", function(self) colour(self, self.unit) end)
  11.  
  12. local U=UnitIsUnit hooksecurefunc("CompactUnitFrame_UpdateName",function(F)if IsActiveBattlefieldArena()and F.unit:find("nameplate")then for i=1,5 do if U(F.unit,"arena"..i)then F.name:SetText(i)F.name:SetTextColor(1,1,0)break end end end end)
  13. local function fn(...) for _,v in pairs(C_NamePlate.GetNamePlates()) do local bf=v.UnitFrame.BuffFrame bf:SetScale(1.5) end end NamePlateDriverFrame:HookScript("OnEvent",fn)
  14.  
  15. local r={"MultiBarBottomLeft", "MultiBarBottomRight", "Action", "MultiBarLeft", "MultiBarRight"} for b=1,#r do for i=1,12 do _G[r[b].."Button"..i.."Name"]:SetAlpha(0) end end
  16.  
  17. PlayerFrame:ClearAllPoints()
  18. PlayerFrame:SetPoint("RIGHT", UIParent, "CENTER", -128, 0)
  19. PlayerFrame:SetUserPlaced(true)
  20.  
  21. TargetFrame:ClearAllPoints()
  22. TargetFrame:SetPoint("RIGHT", UIParent, "CENTER", 360, 0)
  23. TargetFrame:SetUserPlaced(true)
  24.  
  25. FocusFrame:ClearAllPoints()
  26. FocusFrame:SetPoint("RIGHT", UIParent, "CENTER", 360, -170)
  27. FocusFrame:SetUserPlaced(true)
  28.  
  29. MainMenuBarArtFrame.LeftEndCap:Hide();MainMenuBarArtFrame.RightEndCap:Hide()
  30.  
  31. ChatFrameChannelButton:SetParent(ChatFrame1EditBox)
  32. ChatFrameToggleVoiceDeafenButton:SetParent(ChatFrame1EditBox)
  33. ChatFrameToggleVoiceMuteButton:SetParent(ChatFrame1EditBox)
  34. ChatFrameMenuButton:SetParent(ChatFrame1EditBox)
  35. QuickJoinToastButton:Hide()
  36. for i=1,NUM_CHAT_WINDOWS do _G["ChatFrame"..i.."ButtonFrame"]:Hide()end
  37. GeneralDockManager:SetParent(ChatFrame1EditBox)
  38. ChatFrame1EditBoxFocusRight:SetAlpha(0)
  39. ChatFrame1EditBoxFocusMid:SetAlpha(0)
  40. ChatFrame1EditBoxFocusLeft:SetAlpha(0)
  41. ChatFrame1EditBoxRight:Hide()
  42. ChatFrame1EditBoxMid:Hide()
  43. ChatFrame1EditBoxLeft:Hide()
  44.  
  45. local r={"MultiBarBottomLeft","MultiBarBottomRight","Action","MultiBarLeft","MultiBarRight"} for b=1,#r do for i=1,12 do _G[r[b].."Button"..i.."HotKey"]:SetAlpha(0) end end
  46.  
  47. MicroButtonAndBagsBar:Hide()
  48.  
  49.  
  50. MainMenuBarArtFrame.LeftEndCap:Hide()
  51. MainMenuBarArtFrame.RightEndCap:Hide()
  52. MainMenuBarArtFrameBackground:Hide()
  53. MainMenuBarArtFrame.PageNumber:Hide()
  54. ActionBarUpButton:Hide()
  55. ActionBarDownButton:Hide()
  56. MinimapZoomIn:Hide()
  57. MinimapZoomOut:Hide()
  58. MiniMapWorldMapButton:Hide()
  59. MinimapZoneText:Hide()
  60. MinimapBorderTop:Hide()
  61. GameTimeFrame:SetAlpha(0)
  62. MiniMapTracking:SetAlpha(0)
  63. GarrisonLandingPageMinimapButton:SetAlpha(0)
  64.  
  65. StanceBarFrame:ClearAllPoints()
  66. StanceBarFrame:SetPoint("CENTER",0,-1800)
  67. StanceBarFrame.SetPoint=function()end
  68.  
  69. BattlefieldMapFrame:SetScale(1.1)
  70. BattlefieldMapFrame.BorderFrame:Hide()
  71.  
  72. LoadAddOn("Blizzard_ArenaUI")
  73. ArenaEnemyFrames:SetScale(1.5)
  74. ArenaEnemyFrames:SetFrameStrata("LOW");
  75. ArenaEnemyFrame1:ClearAllPoints()
  76. ArenaEnemyFrame2:ClearAllPoints()
  77. ArenaEnemyFrame3:ClearAllPoints()
  78. ArenaEnemyFrame1:SetPoint("CENTER",UIParent,"CENTER",300,50)
  79. ArenaEnemyFrame2:SetPoint("CENTER",UIParent,"CENTER",300,0)
  80. ArenaEnemyFrame3:SetPoint("CENTER",UIParent,"CENTER",300,-50)
  81. ArenaEnemyFrame1.SetPoint = function() end
  82. ArenaEnemyFrame2.SetPoint = function() end
  83. ArenaEnemyFrame3.SetPoint = function() end
  84. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top