View Single Post
12-20-17, 10:43 AM   #1
tehmoku
A Fallenroot Satyr
Join Date: May 2007
Posts: 27
Moving BuffFrame securely

I use this script to move my BuffFrame closer to the center of the screen.

Code:
hooksecurefunc("BuffFrame_UpdateAllBuffAnchors", function()
	local b = _G["BuffFrame"]
	b:ClearAllPoints()
	b:SetPoint("CENTER", UIParent, "RIGHT", -500, 200)
end)
This causes taint when trying to right-click off the buffs because CancelUnitBuff() is secure. Since I don't want to create an entire buff addon, is there a way of simply changing the anchors of BuffFrame securely so I am able to right-click off my buffs in combat?
  Reply With Quote