Originally Posted by haste
the aura filter only handles show/hide state, nothing else. You can hack it to actually do some minor changes, but it wasn't really meant for that.
You also don't show how PlayerClass is defined in that code snippet of yours. Having them shown as 'decolored' just tells me that you have some other function not doing its just correctly.
|
I just found it out. I have it desaturing debuffs that are not mine. Problem was when using the customfilter it was desaturing mine too.
You won't believe what it was... I was calling the wrong arguments. :S That's why it didn't work no matter what I had in the customfilter function. lol
I don't know any debugger for Lua like how I use coding c, php or c# so I'm always a bit lost in LUA with values.
But I ran some Ghetto debugging using prints to the default chat frame and found out the problem, it was in the arguments.
Now using:
myCustomDebuffsFilterfunction(icons, unit, icon, name, rank, texture, count, dtype, duration, timeLeft, caster, isStealable, shouldConsolidate, spellID)
Before: myCustomDebuffsFilter(name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable)
And it was undermining everything! :P
Thanks for the help.
Everything is working now.