Extended Character Stats

Extended Character Stats

8M Downloads

Some gear changes does not trigger Stats:UpdateInformation

gurka opened this issue ยท 0 comments

commented

Bug description

As title. I noticed when changing ring [Circle of Applied Force] to ring [Archimtiros' Ring of Reckoning] that none of the stats were updated, even though my strength, agility and stamina changed.

I debugged it a bit and noticed that the only event that eventFrame receives when changing these rings is PLAYER_EQUIPMENT_CHANGED. When changing ring to e.g. [Don Julio's Band] it receives a UNIT_AURA event and the stats are updated, so that works fine. The only difference between these 3 rings is that [Don Julio's Band] has a few "Equip: xxx" stats while the two rings that makes the stats not update does not.

I have fixed it locally by adding:

                C_Timer.After(0.5, function ()
                    Stats:UpdateInformation()
                end)

after GearInfos:UpdateGearColorFrames(), when PLAYER_EQUIPMENT_CHANGED is received.

I'm not sure if this is the preferred fix, but I will create a PR with it anyway.

Screenshots

Version

2.4.6