WoW:API GetPlayerBuffTimeLeft: Difference between revisions
Jump to navigation
Jump to search
GetPlayerBuffTimeLeft -Documentation by Sarf-
No edit summary |
mNo edit summary |
||
| Line 39: | Line 39: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Functions|GetPlayerBuffTimeLeft]] | |||
[[Category:API Buff Functions|GetPlayerBuffTimeLeft]] | |||
Revision as of 18:44, 27 August 2005
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