ugfyuuf
Anime Plot Deconstructor
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
400 XP
So I finally got LUA unlocked but I don't understand yet how to make it call arena IDs.
The following PLUA macro works for my target:
/run if GetSpellCooldown("Kick")==0 and IsSpellInRange("Kick","target") and (UnitCastingInfo("target") or UnitChannelInfo("target")) then CastSpellByName("Kick") end
(Although it sometimes throws an error box saying that a macro is trying to do something only accessible to the Blizz UI - despite saying this, it does work... but it would be nice to get rid of the error box - anyone know how?)
And I've tried this for arena1-3:
/run if UnitCastingInfo(\”arena1\”) then SpellStopCasting() CastSpellByName(\”Shadowstep\”,\”arena1\”) end")()
/run if UnitCastingInfo(\”arena1\”) then SpellStopCasting() CastSpellByName(\"Kick\”,\”arena1\”) end")()
But that did not work.
What should I do instead?
Thank you
The following PLUA macro works for my target:
/run if GetSpellCooldown("Kick")==0 and IsSpellInRange("Kick","target") and (UnitCastingInfo("target") or UnitChannelInfo("target")) then CastSpellByName("Kick") end
(Although it sometimes throws an error box saying that a macro is trying to do something only accessible to the Blizz UI - despite saying this, it does work... but it would be nice to get rid of the error box - anyone know how?)
And I've tried this for arena1-3:
/run if UnitCastingInfo(\”arena1\”) then SpellStopCasting() CastSpellByName(\”Shadowstep\”,\”arena1\”) end")()
/run if UnitCastingInfo(\”arena1\”) then SpellStopCasting() CastSpellByName(\"Kick\”,\”arena1\”) end")()
But that did not work.
What should I do instead?
Thank you