View Single Post
11-23-22, 04:36 PM   #18
Odjur
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 7
Thought I'd comment because this may be a lower cost method:

Lua Code:
  1. FocusFrame:UnregisterEvent("UNIT_AURA")
  2.  
  3. hooksecurefunc(FocusFrame, "SetSmallSize", function(self)
  4.     self.maxBuffs = 0
  5.     self.maxDebuffs = 0
  6. end)

I believe SetSmallSize is the function that establishes the buff/debuff limits, so this should be a one time setup.
  Reply With Quote