GetBuffInfo
The buff catalogue’s entry for a key.
Syntax
Section titled “Syntax”GetBuffInfo(key)| Parameter | Type | |
|---|---|---|
key |
string | number | a buff’s name, id or GUID |
Returns
Section titled “Returns”table - {id=, name=, guid=, class=, display=, duration=}: the class is what claimed_buffs names, the duration the game’s own in game minutes (-1 = until removed); nil when unknown
Example
Section titled “Example”for _, guid in ipairs(GetPlayerBuffs(pid)) do local b = GetBuffInfo(guid) Log(b and b.name or guid, b and b.class or "")endSee also
Section titled “See also”GetBuffGuid · FindBuffs · GetPlayerBuffs · the Catalogues group of the index
