July 28, 20178 yr 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,
July 28, 20178 yr 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
July 28, 20178 yr 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.
August 3, 20178 yr 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.
August 14, 20178 yr 59 minutes ago, lonellywolf said: When I use this with C sharp, it give me errors on Wrobot... 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
August 17, 20178 yr 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