WoW:API CancelPlayerBuff: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 24: Line 24:


----
----
{{Template:WoW API}}
{{WoW API}}
[[Category:API Functions|CancelPlayerBuff]]
[[Category:API Buff Functions|CancelPlayerBuff]]

Revision as of 04:40, 4 January 2006

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