API CancelPlayerBuff

Removes a specific buff from the player.

CancelPlayerBuff(buffIndex);

Arguments

 * buffIndex : The index of the buff to remove. Can be obtained with GetPlayerBuff. Can also use buff name since the 2.3 patch.

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


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