7,202 Downloads Game Version: 3.0.9

Buffs not updating under certain conditions

#19 By  _ForgeUser1217463

Created Mar 3, 2009 Updated --

Assigned to  _ForgeUser97080

What steps will reproduce the problem?
1. Set a frame to track your buffs, have both player and target buff tracking enabled
2. Target yourself
3. Cast a buff that is set to show for player, but not for target

What is the expected output? What do you see instead?
The player buff frame doesn't update.

What version of the product are you using?

Do you have an error log of what happened?
There are no Lua errors.

Please provide any additional information below.
As long as you don't target anything, the buff tracking works fine. Having the same buffs tracked for player and target also works fine, but not when there are different buffs tracked for player and target.

I believe the cause of this error lies in the handling of duplicate units in DeBuffWatch.lua. Function UNIT_AURA is first called for target, goes through the target auras, then when it's called for player it's considered to be a duplicate and execution aborted. As a result, the buffs I set to show for player but not for target are not processed.

_ForgeUser1217463   added the tags
  Mar 3, 2009
_ForgeUser97080   removed a tag
  Mar 3, 2009

To post a comment, please login or register a new account.