Pepperoni 0 Posted February 22, 2018 Share Posted February 22, 2018 Hi. How do I set the bot up so it goes to the herbalist trainer when needed? I currently use a script in the quester profile and it works, however every time I start the bot profile it goes to that script even though I don't need it. This is the code I use in the Quests order editor: if (wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWithNpc(new robotManager.Helpful.Vector3(-8969.99, 779.636, 95.89198), 5566)) // replace 1, 2, 3 by position, and 12345 by npc entry id { wManager.Wow.Helpers.Usefuls.SelectGossipOption(wManager.Wow.Enums.GossipOptionsType.trainer); wManager.Wow.Helpers.Trainer.TrainingSpell(); } Link to comment https://wrobot.eu/forums/topic/8711-how-do-i-set-the-bot-up-so-it-goes-to-the-herbalist-trainer/ Share on other sites More sharing options...
Droidz 2738 Posted February 25, 2018 Share Posted February 25, 2018 Hello, use condition like (wManager.Wow.Helpers.Skill.GetMaxValue(SkillLine.Herbalism) - wManager.Wow.Helpers.Skill.GetValue(SkillLine.Herbalism)) <= 10 Link to comment https://wrobot.eu/forums/topic/8711-how-do-i-set-the-bot-up-so-it-goes-to-the-herbalist-trainer/#findComment-40138 Share on other sites More sharing options...
Pepperoni 0 Posted February 25, 2018 Author Share Posted February 25, 2018 Where do I put that? I know nothing about coding - I just copied that code from another profile. Could you be so kind to write the code for me? And I'm just going to explain everything I did so it's easier for you to help me. I made a quester profile with different "quest steps". The quest steps tells the bot to go to a specific zone and grind herbalism there. When my character reaches a certain skill in Herbalism it goes to the next step and that is to go to the herbalism trainer and learn a higher version of Herbalism. And the only issue is that whenever I start this bot profile it just instantly goes the herbalism trainer - but after that it follows the right steps. So where do I put that condition you mentioned? This is how it all looks like: Link to comment https://wrobot.eu/forums/topic/8711-how-do-i-set-the-bot-up-so-it-goes-to-the-herbalist-trainer/#findComment-40165 Share on other sites More sharing options...
Jensen- 25 Posted February 25, 2018 Share Posted February 25, 2018 can condition return Skill.GetValue(SkillLine.Herbalism) >= 1; is complete condition return Skill.GetValue(SkillLine.Herbalism) >= 75; when it gets to 75 change zone Link to comment https://wrobot.eu/forums/topic/8711-how-do-i-set-the-bot-up-so-it-goes-to-the-herbalist-trainer/#findComment-40167 Share on other sites More sharing options...
Pepperoni 0 Posted February 26, 2018 Author Share Posted February 26, 2018 That has nothing to do with what I'm asking though. The herb zones are already set up that way but that's not the problem. The problem as I said is that the script that makes my char go to the herb trainer runs everytime I start the bots profile. Link to comment https://wrobot.eu/forums/topic/8711-how-do-i-set-the-bot-up-so-it-goes-to-the-herbalist-trainer/#findComment-40180 Share on other sites More sharing options...
Jensen- 25 Posted February 26, 2018 Share Posted February 26, 2018 you can If set ObjectManager.Me.Level == 20 or you can pick a random quest and set if has quest do your prof lvl and then call for the trainer after just use a comand to abadon the quest so your bot wont go back in steps i got it like this Link to comment https://wrobot.eu/forums/topic/8711-how-do-i-set-the-bot-up-so-it-goes-to-the-herbalist-trainer/#findComment-40196 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