Fixed error with buffIndex/buffId
No edit summary |
(Fixed error with buffIndex/buffId) |
||
| Line 3: | Line 3: | ||
Retrieve info about a certain player buff of a certain type. | Retrieve info about a certain player buff of a certain type. | ||
buffTimeLeft = GetPlayerBuffTimeLeft(buffIndex) | buffTimeLeft = GetPlayerBuffTimeLeft(buffIndex) | ||
---- | ---- | ||
| Line 10: | Line 10: | ||
:(Number buffIndex) | :(Number buffIndex) | ||
:;buffIndex : The | :;buffIndex : The index of the buff to retrieve. Can be obtained with [[API GetPlayerBuff|GetPlayerBuff]] | ||
---- | ---- | ||
| Line 21: | Line 21: | ||
---- | ---- | ||
;''Example'' | ;''Example'' | ||
local timeLeft = GetPlayerBuffTimeLeft( | local timeLeft = GetPlayerBuffTimeLeft(buffIndex) | ||
;''Result'' | ;''Result'' | ||