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 - Type of buff ie "HELPFUL" -- must be all caps
=== Returns ===
:;number
::number -1 = buff doesn't exist or isn't type stated by str.
::number 0 = buff is type stated.
== Example ==
SendChatMessage(GetPlayerBuff( 1, "HELPFUL" ),"SAY")
== 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