Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Talk:API GetPlayerBuff

Discussion page of API GetPlayerBuff

Is it possible to get the name of a buff? --Ciryon 15:18, 30 Jan 2005 (EST) Found answer:


Just scan the tooltip for the buff. First line contains the name. --Ciryon 14:26, 1 Feb 2005 (EST)

buff type

is it possible to detect the type of the buff? e.g. magic, poison, curse, etc?


I'm creating a macro for casting Slice n Dice only if there is a set number of combo points, the mob's health is above a certain percentage, and the Slice N Dice Buff does not already exist (otherwise the macro will cast Sinister Strike). I think I've figured out the combo points and mob health part, and now I'm stuck on the buff part. Looking at this function "GetPlayerBuff" it seems that it looks for buffs based on the buff's current slot, which is not helpful to me. Can this function look for a buff by name, and if so, how would I configure the call (if that's the right term) to look for Slice n Dice?