WoW:API GetPlayerBuffTimeLeft

Revision as of 23:11, 28 November 2004 by WoWWiki>Sarf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetPlayerBuffTimeLeft -Documentation by Sarf-

Retrieve info about a certain player buff of a certain type.

buffTimeLeft = GetPlayerBuffTimeLeft(buffIndex);


Arguments
(Number buffIndex)
buffIndex
The id of the buff to retrieve.

Returns
(Number buffTimeLeft)
buffTimeLeft
The time (in seconds) left until the buff expires.

Example
local timeLeft = GetPlayerBuffTimeLeft(0);
Result

Retrieves amount of time left of the first buff you have.


Description
Retrieves time left until a certain buff expires.
See Also

Template:WoW API