WoW:API CancelPlayerBuff: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 25: Line 25:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|CancelPlayerBuff]]
[[Category:API Buff Functions|CancelPlayerBuff]]

Revision as of 18:43, 27 August 2005

CancelPlayerBuff -Documentation by Voratus-

Removes a specific buff from the player.

CancelPlayerBuff(buffIndex);

Arguments
buffIndex
The id of the buff to remove. Starts at 0 and goes up to 15..

Example
CancelPlayerBuff(0);
Result

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


See Also

Template:WoW API