Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

Recommended Posts

Hello, i tried this, 


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

 

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

Thanks in advance

Share this post


Link to post
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)

Share this post


Link to post
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.

Guest
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...