Skip to content

FindBuffs

Buffs whose name, English name or class holds every word of a pattern.

FindBuffs(pattern [, max])
Parameter Type
pattern string words to look for, case-insensitive
max number at most this many (10) (optional)

table - a list of {id=, name=, guid=, class=, display=}

for _, b in ipairs(FindBuffs("potion strength", 5)) do Log(b.id, b.name, b.display) end

GetBuffInfo · GivePlayerBuff · the Catalogues group of the index