Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Difference between Friendly and Hostile targets condition

Featured Replies

Hello,

 

Is it possible to add condition to tell the difference between HOSTILE and FRIENDLY Targets?

 

One of the main reasons is because the bot recognizes mobs by ID... Now when I leave the bot in an area and a hunter comes by with a Tamed pet from same area, the bot targets his pet and chase it around trying to kill it, even tho its friendly target. I think this condition can do wonders..

Thanks,

  • Author
41 minutes ago, Droidz said:

Hello, use 


wManager.Wow.ObjectManager.ObjectManager.Target.Reaction == wManager.Wow.Enums.Reaction.Hostile

        Hated,
        Hostile,
        Unfriendly,
        Neutral,
        Friendly,
        Honored,
        Revered,
        Exalted,

or lua: http://wowprogramming.com/docs/api/UnitReaction

I am using Fightclass Creator and thats the only knowledge I have. I assume I should use lua script condition and use your 2nd Method!  Except, I don't know how to write the script.. I am zero knowledge with coding/scripts.

  • Author

How do I use this ?

 

I want my bot to "Cast" heal when target is "Friendly." Now the bot apply target health percent based on enemy sometimes, not based on friendly target. Also, it swap target really fast between enemy and friendly, then end up casting heal onself instead.

Even though I have unchecked " Auto self cast."

 

I am just trying to find a way so that bot will heal more accurate.

  • 2 weeks later...
  • Author
On 8/13/2017 at 7:57 PM, reapler said:

Hello, i've created a small example how to use the c# code: heal.xml

Because reactions are ordered you can use it like this:


wManager.Wow.ObjectManager.ObjectManager.Me.TargetObject.Reaction > Reaction.Neutral

 

/Salute. 

Thank you so much, Sir!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.