Jump to content

If unitBuffName


Recommended Posts

Hello, i tried this, 

if UnitBuffName("arena1", Shadow dance) 
      RunMacroText("/Cast [@arena1]Psychic horror") 


But it doesnt work, if someone could help me with that it would be great.

Thanks in advance

Link to comment
Share on other sites

First of all
UnitBuffName is something I added to my api. It's not native to the wow lua api.
It's funny how stuff from my api keeps showing up on these forums, not sure where people are getting it from.

Depending on what expansion you are on you shoudl use either UnitAura("Unit", "SpellName") or UnitBuff("Unit", index) or UnitDebuff("Unit", index)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...