Quantcast How do I use UnitBuff now in 8.0? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-18-18, 06:18 AM   #1
Drudatz
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 13
How do I use UnitBuff now in 8.0?

Before 8.0 I used to use UnitBuff("player", "Summon Chauffeur") and
UnitBuff("player", "Ban-Lu, Grandmaster's Companion") to check if my toon
is on a mount on which you cant enter a pet battle and have my toons
dismounted when the pb dialog pops up.

Since 8.0 I now get the error: "Usage: UnitBuff("unit", [index][, "filter"])"
And as I am a noob I have no idea what to and how to check now
if my toon sits on "Summon Chauffeur" or "Ban-Lu, Grandmaster's Companion".

Any help to fix this would be greatly appreciated!


ps: any infos on what happend to the events
BN_FRIEND_TOON_ONLINE, BN_FRIEND_TOON_OFFLINE, BN_FRIEND_INFO_CHANGED, BN_FRIEND_ACCOUNT_OFFLINE, BN_FRIEND_ACCOUNT_ONLINE (deleted, renamed?)
would also be very helpful. tia

Last edited by Drudatz : 07-18-18 at 06:20 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How do I use UnitBuff now in 8.0?

Thread Tools
Display Modes

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