GetSpellCooldown sometimes returning weird values
Sometimes GetSpellCooldown works exactly like i'd expect. Other times it seems to return strange values.
I was making a basic script to just print out my cooldowns for my tailoring cloths. Here was the function I made Code:
function PrintCooldown(spellName, spellId) If I do a print(GetSpellCooldown(36686)) to get the info for the spell to craft shadowcloth, I get back the following. 42525454.021 331200 1 1 If I do print(GetTime()) i'm getting the following. 118589.087 I was under the impression that I should be able to get the time that the cooldown started with GetSpellCooldown(), but as you can see sometimes it's giving me something that i'm not sure how to use. Any ideas? Could it be related to overflow? If so, at what number does overflow occur in wow lua? |
Sounds like https://github.com/Stanzilla/WoWUIBugs/issues/47
|
Quote:
|
All times are GMT -6. The time now is 09:04 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI