Advertisement
Drainerx

wotlk scripts

Apr 9th, 2019
877
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. 1.
  2. /run USS="UNIT_SPELLCAST_SUCCEEDED";OE="OnEvent";PvP="Interface\\Icons\\inv_jewelry_trinketpvp_01";F="Frame";CF=CreateFrame;BO="Border";PvPT="PvP Trinket";EMFH="Every Man for Himself";UC=UnitClass;AE="ArenaEnemyFrame"
  3.  
  4. 2.
  5. /run function TrS(f,x,y,cd,T,s,h,n) f:SetPoint("LEFT",AE..n,"Right",x,y)f:SetSize(s,s)f.c=CF("Cooldown",cd)f.c:SetAllPoints(f)f.t=f:CreateTexture(nil,BO)f.t:SetAllPoints()f.t:SetTexture(T);if h then end f:RegisterEvent(USS) end
  6.  
  7. 3.
  8. /run function Tr(f,cd,U,N,T)if(U==T and (N==PvPT or N==EMFH))then f:Show();CooldownFrame_SetTimer(cd,GetTime(),120,1) C=UC(T)end end
  9.  
  10. 4.
  11. /run t1=CF(F);TrS(t1,0,0,"cd1",PvP,28,true,1);t2=CF(F);TrS(t2,0,0,"cd2",PvP,28,true,2);t3=CF(F)TrS(t3,0,0,"cd3",PvP,28,true,3)
  12. /run UIErrorsFrame:Hide()
  13. /run FocusFrameSpellBar:SetScale(1.45)
  14. /run TargetFrameSpellBar:SetScale(1.37)
  15.  
  16. 5.
  17. /run t1:SetScript(OE,function(_,_,U,N)Tr(t1,cd1,U,N,"arena1")end);t2:SetScript(OE,function(_,_,U,N)Tr(t2,cd2,U,N,"arena2")end);t3:SetScript(OE,function(_,_,U,N)Tr(t3,cd3,U,N,"arena3")end)
  18.  
  19.  
  20. 6.
  21. /click MultiBarRightButton1
  22. /click MultiBarRightButton2
  23. /click MultiBarRightButton3
  24. /click MultiBarRightButton4
  25. /click MultiBarRightButton5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement