WoW:API CancelPlayerBuff: Difference between revisions

Fixed error with buffIndex/buffId
No edit summary
(Fixed error with buffIndex/buffId)
Line 8: Line 8:
;''Arguments''
;''Arguments''


:;buffIndex : The id of the buff to remove. Starts at 0 and goes up to 15..
:;buffIndex : The index of the buff to remove. Can be obtained with [[API GetPlayerBuff|GetPlayerBuff]]


----
----
;''Example''
;''Example''
  CancelPlayerBuff(0);
  CancelPlayerBuff(GetPlayerBuff(0,"HELPFUL"))


;''Result''
;''Result''
Anonymous user