Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-05-12, 08:53 PM   #1
Boradan
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Mar 2012
Posts: 3
code to check player for buff

What is the code you need to check if a unit("player") has a certain buff?
Woulldnt mind fitting that into my addon to check if the player has any of the following buffs:
Battle Shout,
Horn of Winter,
Kings,
Mark of the Wild,
Well Fed.
Am new to this lua stuff, so any assistance would be appreciated ....

Last edited by Seerah : 03-06-12 at 10:07 AM. Reason: (moved from a thread in the tutorials section)
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » code to check player for buff


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off