thejm 2 Posted September 1, 2016 Share Posted September 1, 2016 title Link to comment Share on other sites More sharing options...
iMod 99 Posted September 1, 2016 Share Posted September 1, 2016 Quote CastSpellByID(spellID, "focus"); CastSpellByID(spellID, "PlayerName"); At the end take a look at the wowapi there is alot you can do. Link to comment Share on other sites More sharing options...
Droidz 2734 Posted September 1, 2016 Share Posted September 1, 2016 Hello, on editor: Link to comment Share on other sites More sharing options...
thejm 2 Posted September 1, 2016 Author Share Posted September 1, 2016 Thanks that's great Link to comment Share on other sites More sharing options...
thejm 2 Posted September 2, 2016 Author Share Posted September 2, 2016 Sorry I have another question, is it possible to do this, but continue the rotation even without a focus? It seems that when I'm 1v1 a mob, it tries to cast paralysis but says "No Target" so it gets stuck. I don't think there's an option that says "If have a target" Link to comment Share on other sites More sharing options...
thejm 2 Posted September 2, 2016 Author Share Posted September 2, 2016 Just now, thejm said: Sorry I have another question, is it possible to do this, but continue the rotation even without a focus? It seems that when I'm 1v1 a mob, it tries to cast paralysis but says "No Target" so it gets stuck. I don't think there's an option that says "If have a focus" Link to comment Share on other sites More sharing options...
kawanin 7 Posted September 2, 2016 Share Posted September 2, 2016 I suppose you have to add Hostile unit Near/ Hostile unit near target condition. And of course set it: Number 2 and type is bigger or equal. So the bot will use this spell only if there is more than 2 target. Link to comment Share on other sites More sharing options...
thejm 2 Posted September 2, 2016 Author Share Posted September 2, 2016 Just now, kawanin said: I suppose you have to add Hostile unit Near/ Hostile unit near target condition. And of course set it: Number 2 and type is bigger or equal. So the bot will use this spell only if there is more than 2 target. That's a good idea but sometimes I might have 2 enemies but it could be a pet that isn't focus, or ill just be questing and not want to make a focus every time I want to use my rotation Link to comment Share on other sites More sharing options...
thejm 2 Posted September 2, 2016 Author Share Posted September 2, 2016 I wonder if I can spam a macro that looks for a nearby enemy and makes them the focus so I always have one in combat Link to comment Share on other sites More sharing options...
Droidz 2734 Posted September 3, 2016 Share Posted September 3, 2016 16 hours ago, thejm said: I wonder if I can spam a macro that looks for a nearby enemy and makes them the focus so I always have one in combat With lua code like local targetExists = UnitExists("target"); TargetNearestEnemy(); FocusUnit("target"); if targetExists then TargetLastTarget(); else ClearTarget(); end or TargetNearestEnemy(); FocusUnit("target"); TargetLastTarget(); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now