Two frame Cooldown question
I have two questions about the frame Cooldown:
The first is: if I want monitor the duration of a temporary enchant weapon through APIs GetWeaponEnchantInfo() and cd:SetCooldown (start, duration), how can I retrieve the start and duration values? The second is: How can I avoid, once the cooldown finish, the flash animation? Thank you in advance |
#1 - GetWeaponEnchantInfo() tells you the duration. To find the start time, I'd just record the time the enchant first appeared.
#2 - cooldown:SetDrawBling(false) |
GetWeaponEnchantInfo() tell you the time remaining for the weapon enchant, as thousandths of seconds, not the duration :p
|
Since you gain a buff when you apply the enchant i would try to investigate that buff. Also make sure to update stuff when the player switching weapons too.
I happen to write a buff/debuff/weapon enchant/consolidated buff frames today, maybe i can help wou with it when it's finished. |
Quote:
|
All times are GMT -6. The time now is 12:30 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI