Quantcast WoWInterface - View Single Post - oUF - Layout discussion
View Single Post
Unread 10-06-08, 08:27 AM   #48
Featured Artist
haste's Avatar
Premium Member
Join Date: Dec 2005
Posts: 990
Originally Posted by Kellen View Post
2. If so, why is the 'index' parameter a table?
It isn't.

self:PostUpdateAuraIcon(icons, unit, icon, index, offset, filter, isDebuff)
-- is equal to:
self.PostUpdateAuraIcon(self, icons, unit, icon, index, offset, filter, isDebuff)
You're missing an argument in your function, hence to offset. Also do note that EBB only operates on your buffs, and that the index of GetPlayerBuff doesn't equal that of UnitBuff.
haste is offline