WoW:API CancelPlayerBuff

Revision as of 11:42, 14 February 2006 by WoWWiki>Tekkub (Fixed error with buffIndex/buffId)
CancelPlayerBuff -Documentation by Voratus-

Removes a specific buff from the player.

CancelPlayerBuff(buffIndex);

Arguments
buffIndex
The index of the buff to remove. Can be obtained with GetPlayerBuff

Example
CancelPlayerBuff(GetPlayerBuff(0,"HELPFUL"))
Result

Removes the first (right-most in the default UI) buff from the player.


See Also

Template:WoW API