morris79 3 Posted September 10, 2018 Share Posted September 10, 2018 <EasyQuest> <Name>Helboar, the Other White Meat</Name> <QuestId> <int>9361</int> </QuestId> <QuestType>OverridePulseCSharpCode</QuestType> <QuestClass xsi:type="OverridePulseCSharpCodeEasyQuestClass"> <Code>while (!Quest.IsObjectiveComplete(1, 9361)) { var helboar = ObjectManager.GetWoWUnitByEntry(16863); if (!ItemsManager.HasItemById(23270)) { if (helboar.Count < 1) { wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(-1120.997, 2922.743, -1.860508)); } else { Fight.StartFight(ObjectManager.GetNearestWoWUnit(helboar).Guid); } } if (ItemsManager.HasItemById(23270)) { ItemsManager.UseItem(23268); Thread.Sleep(1000); } } return true; </Code> </QuestClass> <ObjectiveCount1>8</ObjectiveCount1> <ObjectiveCount2>0</ObjectiveCount2> <ObjectiveCount3>0</ObjectiveCount3> <ObjectiveCount4>0</ObjectiveCount4> <ObjectiveCount5>0</ObjectiveCount5> <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1> <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2> <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3> <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4> <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5> <CanCondition /> <IsCompleteCondition>return Quest.IsObjectiveComplete(1, 9361);</IsCompleteCondition> <RepeatableQuest>false</RepeatableQuest> <NotRequiredInQuestLog>false</NotRequiredInQuestLog> <PickUpQuestOnItem>false</PickUpQuestOnItem> <PickUpQuestOnItemID>0</PickUpQuestOnItemID> <Comment /> <GossipOptionRewardItem>0</GossipOptionRewardItem> <RequiredQuest>0</RequiredQuest> <MaxLevel>100</MaxLevel> <MinLevel>0</MinLevel> <WoWClass>None</WoWClass> </EasyQuest> Hey Guys, when I use this pulse C# code, my charter doesn't loot the mobs. Is that a bug or do I need to set in a code for looting also? Thanks for your time ? Link to comment https://wrobot.eu/forums/topic/10082-when-using-the-startfight-bot-dosent-loot-the-mobs/ Share on other sites More sharing options...
Droidz 2738 Posted September 15, 2018 Share Posted September 15, 2018 Hello, try to replace "while (!Quest.IsObjectiveComplete(1, 9361))" by "if ..." Link to comment https://wrobot.eu/forums/topic/10082-when-using-the-startfight-bot-dosent-loot-the-mobs/#findComment-47470 Share on other sites More sharing options...
morris79 3 Posted September 15, 2018 Author Share Posted September 15, 2018 thanks droids, you're the best. It worked ? Link to comment https://wrobot.eu/forums/topic/10082-when-using-the-startfight-bot-dosent-loot-the-mobs/#findComment-47481 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