WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   GetSpellCooldown("Fury of Elune") returns 0,0 (https://www.wowinterface.com/forums/showthread.php?t=54352)

Infus 08-31-16 12:19 PM

GetSpellCooldown("Fury of Elune") returns 0,0
 
Fury of Elune's cooldown can only be retrieved via the spell id, while the player has the "Fury of Elune" buff.

That is GetSpellCooldown("Fury of Elune") returns 0,0, 1 while the spell is on cd, but the player has the Fury of Elune buff. Once the buff fades, GetSpellCooldown("Fury of Elune") returns the correct information.

GetSpellCooldown(202770) works correctly even if the player has the buff.

This causes a problem for WeakAuras, since we always use GetSpellCooldown("spellname") even if the user entered a spell id, (Omitting a few details.) because users expect that tracking e.g. Ascendance cooldown is possible even though it has a different spell id per spec.


All times are GMT -6. The time now is 09:58 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI