Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GameTooltip SetPlayerBuff

Last wiki revision 2021-08-09

Sets a GameTooltip to a player buff of the type last used in GetPlayerBuff. GameTooltip:SetPlayerBuff(buffIndex)

  • buffIndex : - The index of the buff to set in the game tooltip (affected by the filter used in )
  • 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

Sets the tooltip to the first harmful buff.

Source

https://warcraft.wiki.gg/wiki/API_GameTooltip_SetPlayerBuff · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.