I use an addon made on
https://addon.bool.no/ that only does this:
Code:
BUFFS_PER_ROW = 5
DEBUFFS_PER_ROW = 5
This works fine and my buffs don't clip into my target frame (which is in the top middle of my screen).
However, it taints and disables my Target of Target frame occasionally.
This is the error from BugSack:
Code:
1x [ADDON_ACTION_BLOCKED] AddOn 'Buffs per row' tried to call the protected function 'TargetFrameToT:Show()'.
[string "@!BugGrabber/BugGrabber.lua"]:481: in function <!BugGrabber/BugGrabber.lua:481>
[string "=[C]"]: in function `Show'
[string "@Interface_Vanilla/FrameXML/TargetFrame.lua"]:940: in function `TargetofTarget_Update'
[string "@Interface_Vanilla/FrameXML/TargetFrame.lua"]:213: in function <Interface_Vanilla/FrameXML/TargetFrame.lua:154>
Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:487
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:487
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:553
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:553
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:547
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:562
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:507
}
The same thing happens when I use /script BUFFS_PER _ROW = 5 without making it into an addon. Is there any way that I could achieve the same effect without it disabling my Target of Target frame?