API:GetPlayerBuff

__NOTOC__
GetPlayerBuff
GetPlayerBuff
GetPlayerBuff(no, str)
Supposedly returns the index of the buff or True/False answer to the buff in question.
== Parameters ==
=== Arguments ===
:;no
::number - Possibly the index of the target's or player's buff list.
:;str
::string - Possibly the name of the buff such as "Fire Ward" for mages or target such as "player" or "target".
=== Returns ===
:;number
::number - So far, only -1 which I assume to be false, nil or buff does not exist.
== Example ==
isOneFireWardQuestion = GetPlayerBuff( 1, "Fire Ward" );
whatIsTargetFirstBuff = GetPlayerBuff( 1, "target" );
== Notes ==
So far, I only got -1 in return, which I assume to be false, nil or buff does not exist.
== Related Functions ==
* GetPlayerBuffLeftTime
* GetPlayerClassInfo
* GetPlayerCombatState
* GetPlayerCurrentSkillValue
* GetPlayerExp
* GetPlayerMaxSkillValue
* GetPlayerNumClasses
* GetPlayerWorldMapPos