Gaming
 

IsCasting.GetSpellCastTime

From WoWWiki

This article is a part of the documentation of the IsCasting function library

Usage:

IsCasting.GetSpellCastTime()

EX:

if (IsCasting.GetSpellCastTime() > 2) then doSomething(); end

Returns:

timeLeft - cast durration (in seconds) of current or last cast, nil if nothing has been cast yet (number)