Attraction 1 Posted June 3, 2017 Share Posted June 3, 2017 Hi I am coding a profile where i have got the bot to go in to the dungeon but where can i find an iscomplete condition for killing a mob that is not a boss in the dungeon? Link to comment https://wrobot.eu/forums/topic/6012-iscomplete-condition-for-non-boss-mob-in-dungeon/ Share on other sites More sharing options...
Droidz 2738 Posted June 3, 2017 Share Posted June 3, 2017 Hello, you can test number of mobs alive like: return wManager.Wow.ObjectManager.ObjectManager.Me.Position.DistanceTo(new Vector3(1, 2, 3)) < 30 && wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(1234).Count(u => u.IsValid && u.IsAlive) <= 0; (replace "1, 2, 3" by mob position and "1234" by the mob entry id) Attraction 1 Link to comment https://wrobot.eu/forums/topic/6012-iscomplete-condition-for-non-boss-mob-in-dungeon/#findComment-27351 Share on other sites More sharing options...
Attraction 1 Posted June 3, 2017 Author Share Posted June 3, 2017 34 minutes ago, Droidz said: Hello, you can test number of mobs alive like: return wManager.Wow.ObjectManager.ObjectManager.Me.Position.DistanceTo(new Vector3(1, 2, 3)) < 30 && wManager.Wow.ObjectManager.ObjectManager.GetWoWUnitByEntry(1234).Count(u => u.IsValid && u.IsAlive) <= 0; (replace "1, 2, 3" by mob position and "1234" by the mob entry id) Thank you!! been stuck on this for awhile :D I was wondering is there a part of the website which you can access all the variables for iscomplete? Link to comment https://wrobot.eu/forums/topic/6012-iscomplete-condition-for-non-boss-mob-in-dungeon/#findComment-27354 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