Jump to content

Stop Attacking or Clear Target


Recommended Posts

  • 2 weeks later...
On 6/17/2016 at 0:26 AM, Droidz said:

Hello, to clear target you can use lua code http://wowwiki.wikia.com/wiki/API_ClearTarget : 


ClearTarget();

 

Tried this but it doesn't seems to work. I would like to get the bot to clear the current target and find others instead.

 

After using Iron Trap, the mob becomes untargetable but the bot still tries to attack it. With the ClearTarget, the bot just stays there waiting for it to disappear before searching for another target.

Is there a clear last target memory for the wRobot?

Link to comment
Share on other sites

  • 2 weeks later...

You can use C# code 

wManager.Wow.Helpers.Fight.StopFight();

But for the moment no easy way to use c# code in fightclasses editor, I'll add spell option like "Not spell, is c# code" in next WRobot updates.

Link to comment
Share on other sites

  • 3 weeks later...

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