Closed Dreamzlol closed 10 months ago
Hey There!
GetCastLength() returns stuff we dont actually need and also the SpellCastTime is wrong formatted. Atleast in Wrath, Retail i dont know.
Caffeine:Print(spells.vampiricTouch:GetCastLength())
[Caffeine] 1421 0 36 48160
1421
0
36
Please refactor the GetCastLength() function, so it does only return the SpellCastTime of the givin Spell. Something like this.
function Spell:GetCastLength() local castTime = select(4, GetSpellInfo(self:GetID())) return castTime / 1000 -- convert to seconds end
Should be fixed on next update.
Hey There!
GetCastLength() returns stuff we dont actually need and also the SpellCastTime is wrong formatted. Atleast in Wrath, Retail i dont know.
Issue
Returns
[Caffeine] 1421 0 36 48160
1421
0
36
Task
Please refactor the GetCastLength() function, so it does only return the SpellCastTime of the givin Spell. Something like this.