Talk:API GetSpellCharges

From Warcraft Wiki
Jump to navigation Jump to search

cooldownStart Number - Time (per GetTime) at which the last charge cooldown began, or 2^32 / 1000 if the spell is not currently recharging.

I tested this with "Sheild Block" on Earthen Ring from my Prot Warrior. The value returned from the function is 4294955.289. 2^32/1000 is 4294967.296. I have no idea where the formula in the cooldownStart description came from but it is demonstrably wrong. Lacking any understanding of why it was included in the first place, I am loathe to make the change. If I were to, I would simply change it from "2^32 /1000" to "a meaningless number" and be done with it unless there is some significance to that formula or the returned value of which I am not aware. —The preceding unsigned comment was added by Mltco78dhs (talk · contr).