May 23, 20205 yr 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
May 24, 20205 yr If UnitBuff(“arena1”, “shadow dance”) then CastSpellByName(“Psychic Horrow”, “arena1”) end
May 24, 20205 yr 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)
Create an account or sign in to comment