Is there a way to move your character buffs to your portrait (with the default UI)?
I am pretty happy with my default UI setup when I don’t have addons installed with the exception of the buffs being too far away from my portrait, which I have moved closer to my actionbar.
Understand, please, that moving things “within the default UI” means altering the default UI.
Whether that’s done with a macro running a script or with an add-on is relatively irrelevant.
The macro UI is part of the default UI, so at one level, anything you do there is a part of the “default UI” as well.
Given that the default UI is made up of a collection of just over 80 add-ons (written by Blizzard, but still functioning exactly the same way user-written add-ons function with the exceptions of a) loading first and b) having access to secure code in some instances), I’m not certain what the objection is to having an add-on that handles this for you is.
In my UI I move the buffs towards the bottom of the screen where I have moved most of my UI elements. I also resize them. This is the code I use for that.
Then I need to make sure (1) they stay there, and (2) the debuffs also get placed where I want. So this code is also used:
hooksecurefunc(“AuraButton_Update”, function(buttonName, index, filter)
local buffName = buttonName … index
if “DebuffButton1” == buffName then
local buff = _G[buffName]
if nil ~= buff and not buff.moved then
hooksecurefunc(buff, “SetPoint”, function(self, point, relativeFrame, relativePoint, offsetX, offsetY)
if relativeFrame ~= BuffFrame or relativePoint ~= “TOP” or offsetX ~= 10 then
self:ClearAllPoints()
self:SetPoint(“BOTTOM”, BuffFrame, “TOP”, 10, 24)
end
end)
buff.moved = true
end
end
if “BuffButton1” == buffName then
local buff = _G[buffName]
if nil ~= buff and not buff.moved then
hooksecurefunc(buff, “SetPoint”, function(self, point, relativeFrame, relativePoint, offsetX, offsetY)
if relativeFrame ~= WorldFrame or relativePoint ~= “BOTTOMRIGHT” or offsetX ~= -290 then
self:ClearAllPoints()
self:SetPoint(“TOPRIGHT”, WorldFrame, “BOTTOMRIGHT”, -290, -4)
end
end)
buff.moved = true
end
end
end)
I am sure you could modify the code to move the buffs and debuffs to another location, or anchor them on your PlayerFrame.