Filtering out buffs on standard raid UI
Standard raid UI shows unwanted buffs for paladins. Like auras, blessings. There're only 3 icons for buffs, so that causes obvious issues when I need to track sacred shield of beacon of light.
I'm talking about classic WotLK, btw. I digged to CompactUnitFrames code and found out that there's a function CompactUnitFrame_UtilShouldDisplayBuff which determines whether a particular buff should be displayed or not. I tried to replace that function with my own code. Something like Code:
local original_CompactUnitFrame_UtilShouldDisplayBuff = CompactUnitFrame_UtilShouldDisplayBuff; It's my understanding that I somehow tainted the frames with my code and so they don't react to roster changes in combat anymore. While that's an acceptable compromise for me, I still want to know if there's a way to do what I want the other way, without causing issues with taints. Here's original Blizzard implementation: Code:
I'm aware of hooksecurefunc function, but according to its description I can't return different value for a hooked function which makes it useless for my purposes. |
All times are GMT -6. The time now is 11:38 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI