WoW:API CancelPlayerBuff: Difference between revisions

m
no edit summary
mNo edit summary
Line 27: Line 27:
* This function uses a zero-based index, while UnitBuff() does not.
* This function uses a zero-based index, while UnitBuff() does not.
** '''The Burning Crusades:''' [[API GetPlayerBuff|GetPlayerBuff]]() returns ''0'' if the buff doesn't exist. It stands to reason that this function would then be 1-based in TBC.
** '''The Burning Crusades:''' [[API GetPlayerBuff|GetPlayerBuff]]() returns ''0'' if the buff doesn't exist. It stands to reason that this function would then be 1-based in TBC.
 
* This function was replaced in 3.0 by [[API CancelUnitBuff|CancelUnitBuff]].
* In 3.0, this function is either removed and/or buff-removing is a protected action. It may also require a unit as the first argument.
Anonymous user