Could it be a bug with aura element?
I have noticed this issue(?) about 2 days ago, tried to figure it out by myself and failed...
The current bug is about the cooldown display of aura element.
Let's say I have these 5 different buffs.
As I get them, cooldowns of each buffs will be displayed properly.
However, when I log-out and re-enter the toon, this strange thing will happen.
The cooldown is increased by '1h'.
(Yeah, I know that '1h' does not actually mean a whole hour in this case, but it is still increased :(...)
I've set some prints within L#201~L#208 to see what is going wrong.
And here's the result that I got when I re-entered a toon 3 times.
If my understanding is correct, "timeLeft" variable should remain still, but it is actually (slightly...) increased by certain amount.
The cooldown text '2h' does not seem to be changing until it's expiration as well.
I thought my custom CreateIcon constructor was the one that caused this issue, but it seems to be acting same with default constructor.
EDIT: For 30 minutes buff, the cooldown text displays '31m' even if it acutally expires after 25 minutes.
EDIT1: As long as the toon is logged in, it works fine. However, once I log off and re-enter the toon, this strange thing happens :(
That's just how things work on blizz side. oUF doesn't create these values, it gets them via API.
really sorry about that...
I'm so stupid D:
But, I still don't get why and how it is resulting in such error(?)...
If that's how the default CD ones behave, I should deal with it then.
Thank you for letting me know!
EDIT: nvm... I guess the value of timeLeft variable should vary as the expiration time changes on new session...
Sorry about confusion...
|All times are GMT -6. The time now is 12:01 PM.|
vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI