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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...