View Single Post
03-22-20, 03:27 PM   #6
Sylen
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 50
Those are the old scripts from arenajunkies (Short version for macro usage)
Source 1 Check stream description
Source 2 Chat command, iirc !addons or !ui

BuffFrame
Code:
function UABA() bn="BuffButton" for i=1,BUFF_ACTUAL_DISPLAY do b=_G[bn..i] if i>1 then b:ClearAllPoints() if mod(i,8)==1 then b:SetPoint("TOP",_G[bn..(i-8)],"BOTTOM",0,-15) else b:SetPoint("LEFT",pb,"RIGHT",5,0) end end pb=b end end
hooksecurefunc("BuffFrame_UpdateAllBuffAnchors",UABA)
Code:
DebuffFrame
hooksecurefunc("DebuffButton_UpdateAnchors", function(bn,i) if i>1 then b=_G[bn..i] b:ClearAllPoints() if mod(i,8)==1 then b:SetPoint("TOP",_G[bn..(i-8)],"BOTTOM",0,-15) else b:SetPoint("LEFT",_G[bn..(i-1)],"RIGHT",5,0) end end end)
  Reply With Quote