View Single Post
12-23-22, 03:09 AM   #19
ironmoney
A Murloc Raider
Join Date: Apr 2010
Posts: 4
Originally Posted by Odjur View Post
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.
very nice, thanks. do you know how to make it work with large frames enables?
  Reply With Quote