Widget API ← GameTooltip < SetPlayerBuff

Sets a GameTooltip to a player buff of the type last used in GetPlayerBuff.


Arguments Edit

Number - The index of the buff to set in the game tooltip (affected by the filter used in GetPlayerBuff)

Returns Edit


Example Edit

local buffIndex, untilCancelled = GetPlayerBuff(1, "HARMFUL");


The GameTooltip is set to the first harmful buff.

Details Edit

It will use whatever the last type of buff you specified in GetPlayerBuff was, hence the reason you should specify GetPlayerBuff right before you call SetPlayerBuff.
Options for the GetPlayerBuff filter are : HELPFUL|HARMFUL|PASSIVE

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.